Antel SIP Trunk - Only Options

I am trying to configure a SIP trunk that Antel provides me where they explicitly only send an “OPTION” as a heartbeat and our central should send a 200 OK, understanding that I cannot force this 200 OK beforehand without sending an OPTIONS on my part as well.

Doing a PCAP verified that our server is returning a 401.

Below is my current setup. I am behind NAT

host=XXX.XX.XX.XX
bindaddr=XXX.XX.XX.XX
disallow=all
allow=ulaw,alaw&gsm
type=friend
nat=force_rport,comedia
insecure=port,invite
dtmfmode=rfc2833
qualify=yes

By default, Freepbx has pjsip Port to Listen On set to 5060 and chan_sip Bind Port set to 5160.

Set up a pjsip trunk (you shouldn’t be using chan_sip at all) with Registration None and Authentication None. Set SIP Server to 190.64.60.17 . If Antel will send calls from multiple addresses, set Match (Permit) to a list of those.

Asterisk should then respond to OPTIONS with a 200.

Change the type mode.
Antel no use registration mode therefore change to peer mode
type=peer

I love you!, That’s works!!

In case you’re not aware, chan_sip is deprecated. Now that you have a fallback config, spend the time now to get it working with pjsip.

I know that, but i have another provider and he’s only works on chan_SIP

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