I need some to point me in the right direction. I’m presently configuring pjsip endpoints on asterisk14.3.1 using the wiki(https://wiki.asterisk.org/wiki/ (http://prntscr.com/f4d98k )). I have done the settings on pjsip.conf but the endpoint are not registering with the server when setup on softpone, showing error: request timeout (408) and when I typed: pjsip show endpoints from the asterisk console CLI, it displayed all configured endpoints. Please, what must I cross check to get the extension register. I have increased verbose and debug to 4, and turned on pjsip logger; I still have not get the clue on getting pass this stage.
Have you configured a transport section in pjsip.conf? That is: A section with type=transport? If not then it would not be listening for any traffic. If so then you will need to look outside of Asterisk to determine where traffic is getting dropped.
Yes, I configured a transport section with [transport-udp]
I did the transport section for nat because I have nat-of-nat within the network. Another this I noticed is that when issue command: pjsip show endpoints and pjsip show endpoint the transport protocol does not show below the header field as explained in the wiki (http://prntscr.com/f4door ) but only show within the detail features for specific endpoint as show here: http://prntscr.com/f4dqwl http://prntscr.com/f4dqek
In the above you have two transports which are bound to 0.0.0.0 port 5060, this isn’t permitted. You can have only one bound to an IP address and port.
Okay, I have removed one. But I would like to know if the bind IP address should be that of the asterisk server? The IP address the server listens on for pjsip connection.
It can be. Using 0.0.0.0 will have it listen on all IPv4 addresses on the system.