Asterisk not able to send OPTIONS


I am using asterisk 18.12.1 and trying to integrate it with ringcentral.

I am successfully able to register with ringcentral but my endpoint contact is not able to qualify.

I enabled debug logs on the console and below is the output while trying to send OPTIONS to qualify my contact:

[Jun 9 12:08:15] DEBUG[196967]: res_pjsip/pjsip_options.c:927 sip_options_qualify_aor: Qualifying all contacts on AOR ‘14699833569’
[Jun 9 12:08:15] DEBUG[196967]: res_pjsip/pjsip_options.c:856 sip_options_qualify_contact: Qualifying contact ‘14699833569@@146530725eb3f5297ee5daa50dd02a01’ on AOR ‘14699833569’
[Jun 9 12:08:15] DEBUG[196967]: res_pjsip.c:1566 endpt_send_request: 0x7f55882eb9c0: Wrapper created
[Jun 9 12:08:15] DEBUG[196967]: res_pjsip.c:1581 endpt_send_request: 0x7f55882eb9c0: Set timer to 3000 msec
[Jun 9 12:08:15] ERROR[196967]: res_pjsip.c:1619 endpt_send_request: Error 171005 ‘Missing route set (for tel: URI) (PJSIP_ENOROUTESET)’ sending OPTIONS request to endpoint 14699833569
[Jun 9 12:08:15] DEBUG[196967]: res_pjsip.c:1543 send_request_wrapper_destructor: 0x7f55882eb9c0: wrapper destroyed
[Jun 9 12:08:15] ERROR[196967]: res_pjsip/pjsip_options.c:911 sip_options_qualify_contact: Unable to send request to qualify contact on AOR 14699833569

I am not able to understand what configuration i am missing here. Please help me with this.

What is the actual complete configuration?

Here is my actual configuration what i did,

type = endpoint
context = trunkinbound
dtmf_mode = rfc4733
disallow = all
allow = all
rtp_symmetric = yes
rewrite_contact = yes
outbound_proxy =
from_user = 14699833569
from_domain =
auth = 14699833569
outbound_auth = 14699833569
aors = 14699833569

type = aor
contact =

type = identify
endpoint = 14699833569
match =

type = auth
username = 14699833569
password =

type = registration
retry_interval = 20
max_retries = 10
contact_user = 14699833569
expiration = 120
transport = transport-udp
outbound_auth =
client_uri =
server_uri =

type = auth
password =
username = 804224570011

outbound_proxy on the endpoint does not start with “sip:”. For outbound_proxy you also want to do loose routing:

outbound_proxy =\;lr

Your endpoint should also have explicit codecs, and not use “allow=all”. I also see no reason why you should set max_contacts on the AOR.

Thanks it worked didn’t noticed it was SIP URI.

The configuration i pasted was the output of from asterisk source files. It has not appended sip: ahead of URI.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.