<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 15, 2014 at 7:34 PM, Dan Cropp <span dir="ltr"><<a href="mailto:dan@amtelco.com" target="_blank" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=dan@amtelco.com&cc=&bcc=&su=&body=','_blank','location=yes,menubar=yes,resizable=yes,width=800,height=600');return false;">dan@amtelco.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I am not sure if I entered the correct settings for the transport information.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">For the local_net, I entered my local ip address, but no mask.  I will check with the network admin so he can verify the settings I entered.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> </span></p></div></div></blockquote><div>You need the network and mask.  For example if the ip address and mask of the test machine is <a href="http://192.168.0.1/255.255.255.0">192.168.0.1/255.255.255.0</a> then the correct entry would be <a href="http://192.168.0.0/24">192.168.0.0/24</a>.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">One minor detail, we are using ip authentication.  When Vitelity changed my account from user based authentication to IP based authentication, they stopped including a user for the account.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Should these settings work without the from_user (IP based authentication) or do I need to get the account name from Vitelity?<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u></span></p></div></div></blockquote><div><br></div><div>You definitely need the master account login username.  If you has this working with chan_sip, then try the 'fromuser' from sip.conf and user is from_user.</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Have a great day!<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Da<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=asterisk-users-bounces@lists.digium.com&cc=&bcc=&su=&body=','_blank','location=yes,menubar=yes,resizable=yes,width=800,height=600');return false;">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=asterisk-users-bounces@lists.digium.com&cc=&bcc=&su=&body=','_blank','location=yes,menubar=yes,resizable=yes,width=800,height=600');return false;">asterisk-users-bounces@lists.digium.com</a>] <b>On Behalf Of </b>George Joseph<br><b>Sent:</b> Monday, December 15, 2014 7:27 PM<br><b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br><b>Subject:</b> Re: [asterisk-users] PJSIP configuration question<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal" style="margin-bottom:12.0pt">Ok Dan, try this...  I was able to get this to work behind a NAT and with ip address authentication.<br><br>[global]<br>type = global<br>debug = yes<u></u><u></u></p><div><p class="MsoNormal" style="margin-bottom:12.0pt">[transport1]<br>type = transport<br>bind = 0.0.0.0<br>protocol = udp<br><b>local_net=<yourlocalnet I.E. <a href="http://10.10.10.10/24" target="_blank">10.10.10.10/24</a>><br>external_media_address=<your public ip address><br>external_signaling_address=<your public address><br></b> <br>[<a href="http://outbound.vitelity.net" target="_blank">outbound.vitelity.net</a>]<br>type = aor<br>remove_existing = yes<br>qualify_frequency = 60<br>contact = <a>sip:64.2.142.93</a><u></u><u></u></p></div><div><p class="MsoNormal">[<a href="http://outbound.vitelity.net" target="_blank">outbound.vitelity.net</a>]<br>type = endpoint<br>context = TestApp<br>transport = transport1<br>aors = <a href="http://outbound.vitelity.net" target="_blank">outbound.vitelity.net</a><br>dtmf_mode = rfc4733<br>force_rport = yes<br>rtp_symmetric = yes<br>rewrite_contact = yes<br>send_rpid = yes<br>trust_id_inbound = yes<br>disallow = all<br>allow = ulaw<br>direct_media = no<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><b>from_user=<your main vitelity account name>  ; Not subaccount</b><u></u><u></u></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt">[<a href="http://outbound.vitelity.net" target="_blank">outbound.vitelity.net</a>]<br>type = identify<br>endpoint = <a href="http://outbound.vitelity.net" target="_blank">outbound.vitelity.net</a><br>match = 64.2.142.93<u></u><u></u></p></div></div></div></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div></div></div>