On Sun, Oct 11, 2015 at 8:55 PM, Juan van Rooyen
<[email protected]> wrote:
> Hi there,
>
>
>
> Hope there is a quick answer for this.
>
> Is there an escape character in the Asterisk parser so I can use semicolon
> in asterisk configuration (specifically pjsip)?
>
>
>
> The reason I ask is that Spark NZ (previously Telecom NZ) uses BroadWorks,
> wants the Contact User to be:
> <sip:
> 01234567;tgrp=01234567;[email protected]:5060;transport=udp>
>
>
>
> chan_sip never supported this, so I’m trying to get pjsip’s Contact User to
> do it by specifying the User portion.
>
> However semi-colon is treated as a comment by the Asterisk parser. Adding
> quotes (“) around the setting doesn’t seem to help.
>

Use a '\', i.e.,

contact=sip:01234567\;tgrp=01234567\;trunkcontext=...

-- 
Matthew Jordan
Digium, Inc. | Director of Technology
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org

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