<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div>Hi All,</div><div>I tried to switch from SIP to PJSIP but I can't make any calls.</div><div><br></div><div>Asterisk 15.4.0</div><div>Clients: MicroSIP (based on the pjsip SIP stack)</div><div><br></div><div>With sip.conf all functions OK (SIP instead of PJSIP in extensions.conf)</div><div><br></div><div>I converted SIP to PJSIP with the script <span>contrib/scripts/sip_to_pjsip/sip_to_pjsip.py and I removed sip.conf.</span><br></div><div><br></div><div>I can see the clients with:</div><div><span><span style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;">CLI> pjsip show aors</span></span><br></div><div><span><span style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;"><br></span></span></div><div>After client 61 calls 62 I get just:</div><div><span>*CLI> == Setting global variable 'SIPDOMAIN' to '192.168.0.13' (This is Asterisk IP-Address)</span><br></div><div><span>Call doesn't work!</span></div><div><span><br></span></div><div>Can somebody tell me please what is wrong?</div><div>What should I do to use PJSIP instead of SIP?</div><div><span><br></span></div><div><span>Thank you</span></div><div><span>Regards</span></div><div><span>Marko</span></div><div><span><br></span></div><div><br></div><div><br></div><div>sip.conf</div><div>--------------</div><div><span><div>[general]</div><div><br></div><div>[61]</div><div>type=friend</div><div>canreinvite=no</div><div>host=dynamic</div><div>secret=123</div><div>context=phones</div><div><br></div><div>[62]</div><div>type=friend</div><div>canreinvite=no</div><div>host=dynamic</div><div>secret=123</div><div>context=phones</div><div><br></div></span><br></div><div>pjsip.conf</div><div>----------------</div><div><span><div>[transport-udp]</div><div>type = transport</div><div>protocol = udp</div><div>bind = 0.0.0.0</div><div><br></div><div>[61]</div><div>type = aor</div><div>max_contacts = 1</div><div><br></div><div>[61]</div><div>type = auth</div><div>username = 61</div><div>password = 123</div><div><br></div><div>[61]</div><div>type = endpoint</div><div>context = phones</div><div>direct_media = no</div><div>auth = 61</div><div>outbound_auth = 61</div><div>aors = 61</div><div><br></div><div>[62]</div><div>type = aor</div><div>max_contacts = 1</div><div><br></div><div>[62]</div><div>type = auth</div><div>username = 62</div><div>password = 123</div><div><br></div><div>[62]</div><div>type = endpoint</div><div>context = phones</div><div>direct_media = no</div><div>auth = 62</div><div>outbound_auth = 62</div><div>aors = 62</div><div><br></div></span><br></div><div>extensions.conf</div><div>---------------------------</div><div><span><div>[general]</div><div>autofallthrough=yes</div><div><br></div><div>[default]</div><div><br></div><div>[phones]<br></div><div>exten => _.,1,Dial(PJSIP/${EXTEN},30)<br></div><div>exten => _.,n,Hangup()<br></div><div><br></div></span><br></div><div><br></div><div><br></div><div><span><div>*CLI> pjsip show aors</div><div> Aor: <Aor..............................................> <MaxContact><br></div><div> Contact: <Aor/ContactUri............................> <Hash....> <Status> <RTT(ms)..></div><div>==========================================================================================</div><div> Aor: 61 1<br></div><div> Contact: 61/sip:61@192.168.0.11:55238;ob af939754af Unknown nan</div><div> Aor: 62 1<br></div><div> Contact: 62/sip:62@192.168.0.22:63508;rinstance=526f9 4bddb5801c Unknown nan</div><div><br></div></span><span><div><br></div><div><br></div><div>*CLI> pjsip show endpoints</div><div> Endpoint: <Endpoint/CID.....................................> <State.....> <Channels.><br></div><div> I/OAuth: <AuthId/UserName...........................................................></div><div> Aor: <Aor............................................> <MaxContact></div><div> Contact: <Aor/ContactUri..........................> <Hash....> <Status> <RTT(ms)..></div><div> Transport: <TransportId........> <Type> <cos> <tos> <BindAddress..................></div><div> Identify: <Identify/Endpoint.........................................................></div><div> Match: <criteria.........................></div><div> Channel: <ChannelId......................................> <State.....> <Time.....></div><div> Exten: <DialedExten...........> CLCID: <ConnectedLineCID.......></div><div>==========================================================================================</div><div> Endpoint: 61 Not in use 0 of inf<br></div><div> OutAuth: 61/61</div><div> InAuth: 61/61</div><div> Aor: 61 1</div><div> Contact: 61/sip:61@192.168.0.11:55238;ob af939754af Unknown nan</div><div> Endpoint: 62 Not in use 0 of inf<br></div><div> OutAuth: 62/62</div><div> InAuth: 62/62</div><div> Aor: 62 1</div><div> Contact: 62/sip:62@192.168.0.42:58658;rinstance=7bc 36def1b497 Unknown nan</div><div><br></div></span><br></div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"></div></div></body></html>