[asterisk-dev] [svn-commits] mmichelson: branch 12 r399083 - in /branches/12: include/asterisk/ res/
Joshua Colp
jcolp at digium.com
Fri Sep 13 10:08:46 CDT 2013
Olle E. Johansson wrote:
>>> - When do you add ;transport ? - When do you use sips: ?
>> I assume you mean the code since this can't be set by the user.
>> Transports within pjsip have different properties about them -
>> whether they are secure, whether they are TCP, UDP, TLS, etc. The
>> code above uses these properties to know what to add and when. This
>> code is based on code that already existed within the pjsua library
>> itself.
>>
> Right. But you avoided to answer my questions, that are quite
> important to get right. Can you show some examples?
If the transport is TLS (or otherwise marked as secure) then sips is
added. If the transport is not UDP then transport is added.
This is the above logic in the code you mentioned. I don't know what
else you are looking for...
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-dev
mailing list