-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Jon Farmer
Sent: Thursday, September 16, 2010 1:44 PM
To: [email protected]
Subject: [asterisk-users] AGI Delimiter in 1.6

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 in 1.6 However because the argument delimter in 1.6 has
changed from pipe to comma this breaks as the AUTH line is also comma
delimited. Thus the AGI sees the AUTH as extra arguments instead of a
single argument. As the AUTH may contain varying number of arguments I
need a new way for a my AGI to access this data.

Does anyone have any ideas how I might go about this?

Regards

Jon

Two suggestions; 
#1.  "escape" the , as \,
#2.  quote the string so 1,2,3 is "1,2,3"


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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

Reply via email to