[asterisk-dev] [Code Review] 4328: res_pjsip: Document transport selection process

James Cloos cloos at jhcloos.com
Fri Jan 16 14:48:21 CST 2015


>>>>> "OEJ" == Olle E Johansson <reviewboard at asterisk.org> writes:

OEJ> For dual stack support, we need to open two TCP or TLS connections
OEJ> at the same time.

I assume that means for a new call origination.

If it is the result of an incoming sip session, and the rtp is expected
to avoid the asterisk box, it is best in a dual stack situation for the
outgoing sip to match the incoming ip version, to ensure that the rtp
can work.

Also, for some dual stack there may be a strong preference for one or
ther other.  It would be useful to accept such preferences and, if
specified, to try the two ip version semi-sequentially.  (Ie, abandon
the lower pref one as soon as the socket to the higher-pref one is
established.)

-JimC
-- 
James Cloos <cloos at jhcloos.com>         OpenPGP: 0x997A9F17ED7DAEA6



More information about the asterisk-dev mailing list