> -----Original Message-----
> From: Tony Mountifield [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 04, 2006 4:34 AM
> To: [email protected]
> Subject: [asterisk-users] Re: Passing Arguments to FastAGI
> 
> 
> In article 
> <[EMAIL PROTECTED]>,
> Douglas Garstang <[EMAIL PROTECTED]> wrote:
> > 
> > How does one do this?
> 
> Just append anything you like to the URL, and it will end up in
> the AGI variable agi_network_script.
> 
> e.g.
> 
> exten => _X.,1,AGI(agi://localhost:4573/begin/serv1)
> 
> When the FastAGI is called, you get the following variables 
> (plus others):
> 
> agi_network='yes'
> agi_network_script='begin/serv1'
> agi_request='agi://localhost:4573/begin/serv1'

Not workin' I'm afraid.

Here's what I am getting:

agi_network: yes
agi_request: agi://xxx.yyy.140.167:5000
agi_channel: SIP/3254101-08217078
agi_language: en
agi_type: SIP
agi_uniqueid: 1159955377.26
agi_callerid: 3254101
agi_calleridname: Chocolate Chip
agi_callingpres: 0
agi_callingani2: 0
agi_callington: 0
agi_callingtns: 0
agi_dnid: 9220370
agi_rdnis: unknown
agi_context: btck_CallStart
agi_extension: 9220370
agi_priority: 4
agi_enhanced: 0.0
agi_accountcode: 3254101

And here's how I am calling it:

exten => _[*0123456789].,n,AGI(agi://xxx.yyy.140.167:5000/foo/bar)


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to