[asterisk-users] pipe character in CDR user field

Vieri rentorbuy at yahoo.com
Thu Nov 29 03:54:33 CST 2012


I'm trying to set a CDR userfield to a custom value. This value may contain a '|' but it's really just part of the value.
However, Asterisk keeps warning me about the application delimiter not being a pipe.
It's NOT an application delimiter (it's just part of a variable value) so I'm expecting Asterisk not to warn me about it.
Is it expected behavior? Why?

See the following log:

<SIP/4053-0000007b>AGI Rx << EXEC Set CDR(userfield)="|usr_r=vieri"
    -- AGI Script Executing Application: (Set) Options: (CDR(userfield)=|usr_r=vieri)
[Nov 29 10:53:08] WARNING[4815]: pbx.c:1563 pbx_exec: The application delimiter is now the comma, not the pipe.  Did you forget to convert your dialplan?  (Set(CDR(userfield)=|usr_r=vieri))
<SIP/4053-0000007b>AGI Tx >> 200 result=0

<SIP/4053-0000007d>AGI Rx << EXEC Set CDR(userfield)=\"|usr_r=vieri\"
    -- AGI Script Executing Application: (Set) Options: (CDR(userfield)="|usr_r=vieri")
[Nov 29 10:54:57] WARNING[4838]: pbx.c:1563 pbx_exec: The application delimiter is now the comma, not the pipe.  Did you forget to convert your dialplan?  (Set(CDR(userfield)="|usr_r=vieri"))
<SIP/4053-0000007d>AGI Tx >> 200 result=0

Thanks,

Vieri




More information about the asterisk-users mailing list