[asterisk-users] IPv6 transport results in ICE with only IPv6 candidates
Brian J. Murrell
brian at interlinx.bc.ca
Wed Apr 17 10:49:57 CDT 2019
On Wed, 2019-04-17 at 10:04 -0400, Joshua C. Colp wrote:
>
> You specify the transport in the SIP URI. For example:
>
> sip:test at example.com;transport=tcp
Hrm. This is probably going to be pretty basic, but some googling
didn't seem to come up with anything. How do you do this when you are
assigning to a variable in extensions.conf such as:
FRED=PJSIP/outgoing/sip:fred at sip.example.com;transport=tcp
The ; is taken as a comment starting character, isn't it?
Even in AEL:
FRED="PJSIP/outgoing/sip:fred at sip.example.com;transport=tcp";
The ;transport=tcp doesn't seem to survive.
I can add it onto the end of the variable in the Dial() command:
Dial(${FRED};transport=tcp,${timeout},TtWw);
and it has the desired effect, but of course specifying at the point
where the Dial command is sets the transport policy much too broadly.
Cheers,
b.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190417/e6d988b8/attachment.sig>
More information about the asterisk-users
mailing list