Asterisk 13.8.5 Server on Centos 7 Server x86_64 stabled, installed and configured for PJSIP and Extensions.Conf files only. I can see the endpoints, aors and auths within the on console, firewall configured for SIP and RTP Traffic plus Media, MaxContacts in PJSIP is set to 1 just for testing, Using Zoiper5 Free Edition for testing and it registers, I can dial my extension from Asterisk Console, Zoiper is open on my mobile and the mobile rings. NICE
I try calling a different extension from the mobile using Zoiper5, the extension shows up available in the console, the other extension will ring but there is no voice. All suggested changes for Zoiper5 was complied with such as sip, rtp, domain, username, password, auth username, caller id name/number, no stun, dtmf rfc-2833, BLF, Force RFC-3264, and no rport. Transport is set for UDP. Any suggestions would be greatly appreciated.
Can you set up an extension that just runs Echo() and call it from the mobile and see if you get audio?
Can you post the pjsip endpoint and transport configurations? Make sure direct_media is off.
You can also do a “pjsip set logger host <ip_address>” for both extensions on the console to look at the INVITE exchanges. In particular, look at the ip addresses in the SDPs and make sure they’re reachable.
1000/sip:1000@x.x.x.x:23311;transport=UDP;rinstance=5fc6b528c56c7b23 has been created == Endpoint 1000 is now Reachable – Contact 1000/sip:1000@x.x.x.x:23311;transport=UDP;rinstance=5fc6b528c56c7b23 is now Unknown. RTT: 0.000 msec – Added contact ‘sip:1001@x.x.x.x:46849;transport=UDP;rinstance=7759dbbfef6182fb’ to AOR ‘1001’ with expiration of 60 seconds == Contact 1001/sip:1001@x.x.x.x:46849;transport=UDP;rinstance=7759dbbfef6182fb has been created == Endpoint 1001 is now Reachable – Contact 1001/sip:1001@x.x.x.x:46849;transport=UDP;rinstance=7759dbbfef6182fb is now Unknown. RTT: 0.000 msec == Setting global variable ‘SIPDOMAIN’ to ‘x.x.x.x’asterisk (external IP) : …/src/pj/os_core_unix.c:692: pj_thread_this: Assertion `!"Calling pjlib from unknown/external thread. You must " "register external threads with pj_thread_register() " “before calling any pjlib functions.”’ failed.Aborted
Asterisk aborts and I am back at the #prompt and the same happens when I do the echo test, this is all existing on Centos Server 7 x86_64. Any advice would greatly be appreciated.
Thanks in advance and the asterisk version is 13.18.5, not 13.8.5
First, can you try with 13.19.0? There were a few changes in that area since 13.18.5. If you still get the abort, open an issue1 asap and follow the guidelines for getting good backtraces2.
Can I upgrade to 13.19.0 from 13.18.5 without creating another instance
and starting the installation from scratch? Second, was the
install_prereq file updated as this version of asterisk has upgraded a
full-distro?