Hi all,
I am running Asterisk 13.16.0 and using PJSIP as a channel driver for a trunk with the remote SIP server.
The problem is that the remote server does not respond to OPTIONS requests sent from my Asterisk, which makes the endpoint unavailable from Asterisk’s point of view:
asterisk*CLI> pjsip show contacts
== output truncated ==
Contact: Remote/sip:880131@192.168.10.20:5060 dc9dddb73b Unavail 0.000
For that reason, all the call attempts over this trunk fail with the following message in the debug:
0m: Endpoint 'Remote': Could not create dialog to invalid URI 'Remote'. Is endpoint registered and reachable?
Obviously, no INVITEs are sent from Asterisk.
However, that remote server is actually reachable and would process a call should Asterisk initiate it.
Moreover, disabling Qualify entirely does not help - the endpoint still looks unreachable, and no calls are originated.
Question: Is there any way in Asterisk with PJSIP to force call origination to endpoints which seem unreachable due to the lack of answers to OPTIONS? Is it possible to customize this behaviour per endpoint or globally? Are there any other workarounds to this issue?
Thank you in advance!