[asterisk-dev] Re: FastAGI behaviour in trunk changed recently?

Alistair Cunningham acunningham at integrics.com
Tue Jul 25 04:37:04 MST 2006


With the following in logger.conf:

console => notice,warning,error,debug

and all of "set verbose 9", "set debug 9", "sip debug", "iax2 debug", 
and "agi debug" turned on, no extra lines are printed to the console 
after the AGI returns until the caller hangs up.

Alistair Cunningham,
Integrics Ltd,
+44 20 799 39 799
http://integrics.com/


Alistair Cunningham wrote:
> Russell,
> 
> This is in reference to a conversation of a few weeks ago:
> 
> http://lists.digium.com/pipermail/asterisk-dev/2006-July/021620.html
> 
> Here is an entire Asterisk console output. The Asterisk version is 
> SVN-trunk-r38187, checked out today.
> 
>     -- Executing [07870699479 at from-internal:1] 
> AGI("SIP/217.37.242.113-08828350", 
> "agi://127.0.0.1/start?stype=phone&snumber=&cnumber=07870699479&scustomer=") 
> in new stack
> AGI Tx >> agi_network_script: 
> start?stype=phone&snumber=&cnumber=07870699479&scustomer=
> AGI Tx >> agi_request: 
> agi://127.0.0.1/start?stype=phone&snumber=&cnumber=07870699479&scustomer=
> AGI Tx >> agi_channel: SIP/217.37.242.113-08828350
> AGI Tx >> agi_language: en
> AGI Tx >> agi_type: SIP
> AGI Tx >> agi_uniqueid: 1153825282.5
> AGI Tx >> agi_callerid: 123402
> AGI Tx >> agi_calleridname: Alistair Cunningham
> AGI Tx >> agi_callingpres: 0
> AGI Tx >> agi_callingani2: 0
> AGI Tx >> agi_callington: 0
> AGI Tx >> agi_callingtns: 0
> AGI Tx >> agi_dnid: 07870699479
> AGI Tx >> agi_rdnis: unknown
> AGI Tx >> agi_context: from-internal
> AGI Tx >> agi_extension: 07870699479
> AGI Tx >> agi_priority: 1
> AGI Tx >> agi_enhanced: 0.0
> AGI Tx >> agi_accountcode:
> AGI Tx >>
> AGI Rx << GET VARIABLE SIP_HEADER(X-Enswitch-External)
> AGI Tx >> 200 result=0
> AGI Rx << SET VARIABLE __DYNAMIC_FEATURES "park_caller#park_called"
> AGI Tx >> 200 result=1
> AGI Rx << SET VARIABLE TIMEOUT(absolute) 86400
>     -- Channel will hangup at 2006-07-26 11:01:22 UTC.
> AGI Tx >> 200 result=1
> AGI Rx << VERBOSE "Resolving type '', number '07870699479'." 5
> 
> agi://127.0.0.1/start?stype=phone&snumber=&cnumber=07870699479&scustomer=: 
> Resolving type '', number '07870699479'.
> AGI Tx >> 200 result=1
> AGI Rx << VERBOSE "Resolving type 'external', number '07870699479'." 5
> 
> agi://127.0.0.1/start?stype=phone&snumber=&cnumber=07870699479&scustomer=: 
> Resolving type 'external', number '07870699479'.
> AGI Tx >> 200 result=1
> AGI Rx << SET CONTEXT to-voiptalk
> AGI Tx >> 200 result=0
> AGI Rx << SET VARIABLE CALLERID(number) "08458684633"
> AGI Tx >> 200 result=1
> AGI Rx << EXEC SetCallerPres allowed
>     -- AGI Script Executing Application: (SetCallerPres) Options: (allowed)
> AGI Tx >> 200 result=0
> AGI Rx << SET EXTENSION 07870699479
> AGI Tx >> 200 result=0
> AGI Rx << SET PRIORITY 1
> AGI Tx >> 200 result=0
> AGI Rx << SET VARIABLE ENSWITCH-DCUSTOMER "2"
> AGI Tx >> 200 result=1
> AGI Rx << SET VARIABLE ENSWITCH-DTYPE "external"
> AGI Tx >> 200 result=1
> AGI Rx << SET VARIABLE ENSWITCH-DNUMBER "07870699479"
> AGI Tx >> 200 result=1
> AGI Rx << SET VARIABLE ENSWITCH-CUTOFF ""
> AGI Tx >> 200 result=1
>     -- AGI Script 
> agi://127.0.0.1/start?stype=phone&snumber=&cnumber=07870699479&scustomer= 
> completed, returning 0
> host217-37-242-113*CLI>
> 
> There is nothing after this. Here is the [to-voiptalk] context from 
> extensions.conf:
> 
> [to-voiptalk]
> exten => _X., 1, Set(CALLERID(number)=44${CALLERID(number):1})
> exten => _00., 2, Dial(IAX2/voiptalk/${EXTEN:2})
> exten => _0., 2, Dial(IAX2/voiptalk/44${EXTEN:1})
> exten => _X., 2, Dial(IAX2/voiptalk/${EXTEN})
> exten => _X., 3, Hangup
> exten => h, 1, DeadAGI(agi://127.0.0.1/end)
> exten => t, 1, Hangup
> 



More information about the asterisk-dev mailing list