Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Semicolon use in configuration?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
juan.vanrooyen at ligh...
Guest





PostPosted: Sun Oct 11, 2015 8:55 pm    Post subject: [asterisk-users] Semicolon use in configuration? Reply with quote

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;trunkcontext=telecom.co.nz@SERVER.IP: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.

Any ideas?

Thanks,
Juan
Back to top
mjordan at digium.com
Guest





PostPosted: Sun Oct 11, 2015 10:17 pm    Post subject: [asterisk-users] Semicolon use in configuration? Reply with quote

On Sun, Oct 11, 2015 at 8:55 PM, Juan van Rooyen
<juan.vanrooyen@lightwire.co.nz> wrote:
Quote:
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;trunkcontext=telecom.co.nz@SERVER.IP: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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services