[asterisk-users] AGI Delimiter in 1.6

2010-09-16 Thread Jon Farmer
Hi I am currently using 1.2.x and 1.4.x behind OpenSER. One of the things I do on INVITES is to re-authenticate the user from OpenSER. Then when the INVITE gets passed to Asterisk I capture the AUTH to a variable in the dialplan and pass to an AGI script. I am now trying to set the same thing up i

Re: [asterisk-users] AGI Delimiter in 1.6

2010-09-16 Thread Danny Nicholas
-Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jon Farmer Sent: Thursday, September 16, 2010 1:44 PM To: asterisk-users@lists.digium.com Subject: [asterisk-users] AGI Delimiter in 1.6 Hi I am currently using

Re: [asterisk-users] AGI Delimiter in 1.6

2010-09-16 Thread Jon Farmer
On 16 September 2010 19:50, Danny Nicholas wrote: > Two suggestions; > #1.  "escape" the , as \, > #2.  quote the string so 1,2,3 is "1,2,3" I have thought about both of those ideas. Is it possible to escape the string in the dialplan? Applying quotes didn't seem to work, however I was pretty

Re: [asterisk-users] AGI Delimiter in 1.6

2010-09-16 Thread Danny Nicholas
-Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jon Farmer Sent: Thursday, September 16, 2010 2:21 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] AGI Delimiter in

Re: [asterisk-users] AGI Delimiter in 1.6

2010-09-16 Thread Jon Farmer
> On 16 September 2010 19:50, Danny Nicholas wrote: > If you make the string into a dialplan Variable, you can do pretty much > anything with it.  Let's say your dialplan is like this > > - exten => 1234,1,blah > - exten => 1234,n,AGI(myagi.xx,"1234") > > Change line 2 to > - exten => 1234,n,AGI(

Re: [asterisk-users] AGI Delimiter in 1.6

2010-09-16 Thread James A. Shigley
ember 16, 2010 2:37 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] AGI Delimiter in 1.6 > On 16 September 2010 19:50, Danny Nicholas wrote: > If you make the string into a dialplan Variable, you can do pretty much > anything with it.  

Re: [asterisk-users] AGI Delimiter in 1.6

2010-09-16 Thread Barry Miller
On Thu, Sep 16, 2010 at 07:44:23PM +0100, Jon Farmer wrote: > Hi > > I am currently using 1.2.x and 1.4.x behind OpenSER. One of the things > I do on INVITES is to re-authenticate the user from OpenSER. Then when > the INVITE gets passed to Asterisk I capture the AUTH to a variable in > the dialpl

Re: [asterisk-users] AGI Delimiter in 1.6

2010-09-21 Thread Jon Farmer
On 16 September 2010 22:23, Barry Miller wrote: > For an interim fix, setting res_agi=1.4 in the [compat] section of > asterisk.conf should work.  See UPGRADE-1.6.txt . I have tried this but it still complains about the pipe not being a comma. Regards Jon -- Jon Farmer Tel 07795 118140 --

Re: [asterisk-users] AGI Delimiter in 1.6

2010-09-21 Thread Jonas Kellens
On 09/21/2010 04:22 PM, Jon Farmer wrote: > On 16 September 2010 22:23, Barry Miller wrote: > > >> For an interim fix, setting res_agi=1.4 in the [compat] section of >> asterisk.conf should work. See UPGRADE-1.6.txt . >> > I have tried this but it still complains about the pipe not bein

Re: [asterisk-users] AGI Delimiter in 1.6

2010-09-21 Thread Jon Farmer
Hi, I fixed it in the end by adding the sip headers I was interested in as extra "x" headers in the openser config. Then just capturing these in the asterisk dialplan as variables. Simples. Regards Jon On 21 Sep 2010 16:03, "Jonas Kellens" wrote: > On 09/21/2010 04:22 PM, Jon Farmer wrote: >> O