Semicolon Use In Configuration?
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:
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
One thought on - Semicolon Use In Configuration?
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
—