[Asterisk-Users] Automated callback with .call file

Jason Goecke jsgoecke at yahoo.com
Thu Dec 16 04:44:51 MST 2004


Hello,

I am attempting to write a script to launch a callback
based on a dial-in service.  I have created this call
file:

---------------------------
channel: IAX2/user at voipjet/011_valid_number
maxretries: 3
retrytime: 5
waittime: 5
context: dialtone
extension: 912125551212
priority: 1
---------------------------

Where I first attempt to dial the callback user
(channel) and then connect the call to the number they
dialed (extension, which is valid for connecting via
the dialtone context), I get the following error:

---------------------------
    -- Attempting call on
IAX2/user at voipjet/011_valid_number for
912125551212 at dialtone:1 (Retry 1)
    -- Call accepted by 216.118.117.46 (format ulaw)
    -- Format for call is ulaw
    -- Hungup 'IAX2/voipjet/1'
Dec 16 12:41:17 WARNING[20464]: app_queue.c:340
changethread: Can't change device with no technology!
Dec 16 12:41:17 NOTICE[20464]: pbx_spool.c:234
attempt_thread: Call failed to go through, reason 0
---------------------------

If I change the voipjet to an internal SIP extension
(ie - SIP/1000) it works fine.  How do I get this
working?

Jason



More information about the asterisk-users mailing list