[asterisk-users] AGI Delimiter in 1.6

Barry Miller asterisk-users at notanet.net
Thu Sep 16 16:23:29 CDT 2010


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 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?

For an interim fix, setting res_agi=1.4 in the [compat] section of
asterisk.conf should work.  See UPGRADE-1.6.txt .

-- 
Barry



More information about the asterisk-users mailing list