Solved

Test.CALL file in place but no action?

Posted on 2008-06-25
5
991 Views
Last Modified: 2013-12-21
As suggested by others I have installed Samba on the Elastix box and set up the share. So now I can drom a CALL file into the /var/spool/asterisk/outgoing folder. This works, but the file doesn't do anything! I mean Asterisk is not doing anything:
Channel: SIP/211
MaxRetries: 1
RetryTime: 60
WaitTime: 30
Context: from-internal
Extension: 6173847XXXX
Priority: 1
AlwaysDelete: Yes

It doesn't even get deleted. Time is not in the future.

Any clues?

TIA

Tom
0
Comment
Question by:tom_szabo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 36

Expert Comment

by:grblades
ID: 21872664
Check to make sure that you are creating the file elsewhere and then move or copy it into the outgoing directory. Otherwise if the file is still being written when asterisk tries to read it then it will fail.
0
 

Author Comment

by:tom_szabo
ID: 21873032
Well I did, many times, no luck. Is there a module needs to be loaded? Anything I am missing?
0
 
LVL 36

Accepted Solution

by:
grblades earned 300 total points
ID: 21873090
See http://www.voip-info.org/tiki-index.php?page=Asterisk+auto-dial+out

I would try creating the file in a different directory on the server.
Then edit it you make sure the line formatting is correct. Windows uses CRLF as line terminators while linux just uses LF. It shouldnt cause a problem but you never know.
Once you have the file move it to the outgoing directory (dont copy) and then see if it works.
0
 
LVL 25

Assisted Solution

by:kode99
kode99 earned 200 total points
ID: 21879498
Given that you are dealing with an appliace type Asterisk I would not be surprised if it does not automatically load everything - only what it needs for the intended functionality.  

Check your modules.conf file,  two things to check.  The module needed is the pbx_spool.so.

If it has autoload=yes then also check that the pbx_spool module is not excluded with 'noload =>'.

Or if autoload=no then you may need to add a load=pbx_spool.so or uncomment the one that may be there.  

Of course make sure the is a pbx_spool.so module to load.

Here's some modul.conf examples,

http://www.voip-info.org/wiki/view/Asterisk+Slimming

I am not sure about how exact the formatting needs to be but I agree with grblades,  you want to check it closely.
0
 

Author Closing Comment

by:tom_szabo
ID: 31470860
thanks
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Every year the snow affects people and businesses. According to the Federation of Small Businesses (FSB), in 2009, UK businesses lost an estimated £1.2bn (http://news.bbc.co.uk/1/hi/business/7864804.stm) because of bad weather. This article was c…
There are no good configuration guides for HP-H3C router to LYNC on the web. :( Big statement, but we havent been able to find one yet. We did find the following document useful, but the information was not enough to use H3C router for use as a L…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question