[Freeswitch-users] Handling Variables With Commas

Brian West brian at freeswitch.org
Wed Apr 26 23:25:22 MSD 2017


The RFC3323 states those values in that specific header are colon
separated.

/b


On Wed, Apr 26, 2017 at 12:03 PM, Markus Bönke <mbodbg at gmx.net> wrote:

> Hello,
>
> I try to set a sip_header to a comma separated value. If I set a X-Header
> like:
>
>  {sip_h_X-My-Header=one\,two\,three,leg_time_out=10,process_cdr=b_only}
>
> as described on the wiki, it works.
>
> But if I try to set a regular Header like:
>
> {sip_h_Privacy=header\,user\,id}
>
> the values are separated by semicolon instead of comma
>
> Privacy: header;user;id
>
> Is this by design? Is it possible to set comma separated values on regular
> headers?
>
> Thanks and regards
>
> Markus
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 

*Brian West*
brian at freeswitch.org

*Twitter: @FreeSWITCH , @briankwest*

http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

Book a phone call (CST) <https://freeswitch.com/appointment>

Allison prompts for FreeSWITCH:

*https://www.gofundme.com/allison-prompts-for-freeswitch*
<https://www.gofundme.com/allison-prompts-for-freeswitch>

Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170426/1c1fef6d/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list