[asterisk-users] AGI: Not getting answers from get_data in a call-file call

Edwin Groothuis edwin at mavetju.org
Sun Feb 3 21:17:23 CST 2008


> a) The call file

Channel: Zap/g4/0409227633
MaxRetries: 0
RetryTime: 60
WaitTime: 30
Extension: 0409227633
Callerid: 0409227633
Context: barnet-callback
Priority: 1

> b) the snippet of extensions.conf that this is called in

;
; dial back
;
exten => 0293353699,1,AGI(callback1.agi)

[barnet-callback]
exten => _.X,1,NoOp(callback time)
exten => _.X,n,Answer()
exten => _.X,n,AGI(callback2.agi)
exten => _.X,n,Hangup
exten => OutgoingSpoolFailed,1,NoOp(Failed)


You dial in on 02 9335 3699, come into the AGI script which creates
the above call-file (that works), it calls you back on via the
call-file and then drops into the callback2.agi script which is the
one I had in the earlier email.

As I said earlier: nothing strange, nothing spectacular. Just strange
that it doesn't work for calls initiated by Asterisk.

-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin at mavetju.org    |              Weblog: http://www.mavetju.org/weblog/



More information about the asterisk-users mailing list