<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 16, 2017 at 7:03 PM, Michelle Dupuis <span dir="ltr"><<a href="mailto:mdupuis@ocg.ca" target="_blank">mdupuis@ocg.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr" style="font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:Calibri,Arial,Helvetica,sans-serif">
<p>I am looking at the pjsip.conf file shipped with asterisk, and trying to understand it.  For example, there are 3 transport-X sections as noted below.  Does this mean I could uncomment all 3?  Must I uncomment 1?  Is the -X portion of [transport-X] arbitrary?
  <br>
</p>
<p><br>
</p>
<div><br>
</div>
<div>; Basic UDP transport</div>
<div>;</div>
<div>;[transport-udp]</div>
<div>;type=transport<br>
</div>
<div>;protocol=udp    ;udp,tcp,tls,ws,wss</div>
<div>;bind=0.0.0.0</div>
<div><br>
</div>
<div>; UDP transport behind NAT</div>
<div>;</div>
<div>;[transport-udp-nat]</div>
<div>;type=transport</div>
<div>;protocol=udp</div>
<div>;bind=0.0.0.0</div>
<div>;localnet=<a href="http://192.0.2.0/24" target="_blank">192.0.2.0/24</a></div>
<div>;external_media_address=203.0.<wbr>113.1</div>
<div>;external_signaling_address=<wbr>203.0.113.1</div>
<div><br>
</div>
<div>; Basic IPv6 UDP transport</div>
<div>;</div>
<div>;[transport-udp-ipv6]</div>
<div>;type=transport</div>
<div>;protocol=udp</div>
<div>;bind=::</div></div></blockquote><div><br></div><div>The sample pjsip.conf file provides samples and minimal option descriptions.  For more documentation on pjsip please see the wiki [1].  A fictitious example company [2] is documented showing how that company could setup Asterisk.<br></div><div><br></div><div>As to your questions:</div><div>* You need to have at least one transport section to tell pjsip how to send and receive SIP messages.  The provided samples may or may not apply to your particular network.<br></div><div>* The name of a transport section is completely arbitrary.  What makes it a transport section is the "type=transport" line.<br></div><div></div><div><br></div><div>[1] <a href="https://wiki.asterisk.org/wiki/display/AST/Configuring+res_pjsip">https://wiki.asterisk.org/wiki/display/AST/Configuring+res_pjsip</a></div><div>[2] <a href="https://wiki.asterisk.org/wiki/display/AST/Super+Awesome+Company">https://wiki.asterisk.org/wiki/display/AST/Super+Awesome+Company</a><br></div><div><br></div><div>Richard</div><br></div><br></div></div>