[asterisk-app-dev] No agi_arg_1, etc. for async AGI?

Matt Behrens matt at zigg.com
Wed Jan 8 11:40:42 CST 2014


I’m trying to originate an AsyncAGI with parameters on 11.7.0 (RPMs from packages.asterisk.org).  I don’t seem to receive those parameters back in the AGI environment.

Ideally I’d like to just use an Originate action with application/data, but even if I point it to a context/exten/priority making the same AGI application call with the same data I still don’t receive the parameters.

Here are the relevant bits from my attempt.  Shouldn’t I see “foo” and “bar” as AGI arguments?  Full log is here: http://pastebin.com/LeB3gkHT

Action: Originate
Channel: SIP/201
Application: AGI
Data: agi:async,foo,bar
Async: true
 
Response: Success
Message: Originate successfully queued

Event: OriginateResponse
Privilege: call,all
Response: Success
Channel: SIP/201-00000000
Context:
Exten:
Reason: 4
Uniqueid: 1389201639.0
CallerIDNum: <unknown>
CallerIDName: <unknown>
 
Event: AsyncAGI
Privilege: agi,all
SubEvent: Start
Channel: SIP/201-00000000
Env: agi_request%3A%20async%0Aagi_channel%3A%20SIP%2F201-00000000%0Aagi_language%3A%20en%0Aagi_type%3A%20SIP%0Aagi_uniqueid%3A%201389201639.0%0Aagi_version%3A%2011.7.0%0Aagi_callerid%3A%20unknown%0Aagi_calleridname%3A%20unknown%0Aagi_callingpres%3A%200%0Aagi_callingani2%3A%200%0Aagi_callington%3A%200%0Aagi_callingtns%3A%200%0Aagi_dnid%3A%20unknown%0Aagi_rdnis%3A%20unknown%0Aagi_context%3A%20default%0Aagi_extension%3A%20%0Aagi_priority%3A%201%0Aagi_enhanced%3A%200.0%0Aagi_accountcode%3A%20%0Aagi_threadid%3A%20140670402877184%0A%0A
 
---- unquoted Env follows ----
 
agi_request: async
agi_channel: SIP/201-00000000
agi_language: en
agi_type: SIP
agi_uniqueid: 1389201639.0
agi_version: 11.7.0
agi_callerid: unknown
agi_calleridname: unknown
agi_callingpres: 0
agi_callingani2: 0
agi_callington: 0
agi_callingtns: 0
agi_dnid: unknown
agi_rdnis: unknown
agi_context: default
agi_extension:
agi_priority: 1
agi_enhanced: 0.0
agi_accountcode:
agi_threadid: 140670402877184
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-app-dev/attachments/20140108/b6b3933c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4094 bytes
Desc: not available
URL: <http://lists.digium.com/pipermail/asterisk-app-dev/attachments/20140108/b6b3933c/attachment.bin>


More information about the asterisk-app-dev mailing list