<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:'
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>I’m working with a SIP provider to try and transition our sip connection with them to PJSIP. I thought I had transitioned the settings correctly, but whenever I attempt an Originate it never even tries to send any PJSIP messages.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’m currently running Asterisk 13.0.0.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Anyone have any suggestions as to what I am doing wrong?<o:p></o:p></p><p class=MsoNormal>The SIP provider says the latest version of Asterisk they have anyone using is Asterisk 11, so they have no PJSIP configuration experience.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The only setting that I believe I haven’t found a PJSIP settting for is the “insecure=invite” from sip.conf<o:p></o:p></p><p class=MsoNormal>I thought that would be the equivalent of no authentication object, so I tried that. However, that did not work either.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I tried changing the endpoint to have no auth and outbound_auth settings.<o:p></o:p></p><p class=MsoNormal>I tried changing the endpoint to use the auth instead of the outbound_auth.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The SIP provider even changed the username and passwords to blank. I followed suit and changed the pjsip.conf user and password related settings to blank.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Our sip.conf (running in a different VM on Asterisk 13.0.0) settings look like this…<o:p></o:p></p><p class=MsoNormal><span style='font-family:"&apos","serif"'>[xxxxx]<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"&apos","serif"'>type = friend<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"&apos","serif"'>qualify = no<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"&apos","serif"'>nat = yes<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"&apos","serif"'>host = xxxx<span class=apple-converted-space>x</span><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"&apos","serif"'>defaultuser = yyyyy<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"&apos","serif"'>secret = zzzzz<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"&apos","serif"'>incominglimit = 4<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"&apos","serif"'>accountcode = 9<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"&apos","serif"'>port = 5060<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"&apos","serif"'>context = TestApp<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"&apos","serif"'>dtmfmode = auto<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"&apos","serif"'>insecure = invite<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"&apos","serif"'>fromdomain =<span class=apple-converted-space> xxxxx</span> <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"&apos","serif"'>fromuser = yyyyy<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"&apos","serif"'>sendrpid = yes<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"&apos","serif"'>trustrpid = yes<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"&apos","serif"'>canreinvite = no<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"&apos","serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"&apos","serif"'>For the pjsip.conf settings (Asterisk 13.0.0), I have <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>[transport1]</span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>type = transport</span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>bind = 0.0.0.0</span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>protocol = udp</span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> </span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>[xxxxx]</span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>type = aor</span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>max_contacts = 1</span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>remove_existing = yes</span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>contact =<span class=apple-converted-space> </span><a href="sip:yyyyy@xxxxx:5060">sip:yyyyy@xxxxx:5060</a></span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> </span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>[auth9]</span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>type = auth</span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>username = yyyyy</span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>password = zzzzz</span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> </span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>[xxxxx]</span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>type = endpoint</span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>context = TestApp</span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>transport = transport1</span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>outbound_auth = auth9</span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>aors =<span class=apple-converted-space> xxxxx</span></span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>accountcode = 9</span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>dtmf_mode = rfc4733</span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>device_state_busy_at = 4<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>;force_rport = yes ; also tried with this setting, but it still didn’t help</span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>rtp_symmetric = yes</span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>rewrite_contact = yes</span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>from_domain =<span class=apple-converted-space> </span>xxxxxx</span><span style='font-family:"&apos","serif"'> <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>from_user = yyyyy</span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>send_rpid = yes</span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>trust_id_inbound = yes</span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>direct_media = no<span class=apple-converted-space> </span></span><span style='font-family:"&apos","serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"&apos","serif"'><o:p> </o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Have a great day!<o:p></o:p></p><p class=MsoNormal>Dan<o:p></o:p></p></div></body></html>