Inbound route is not ringing

Post what settings you have now in you sip trunk and the register string.

After the search for the real problem I must say I’ve found a general solution: “Reboot the PBX”.
I wasn’t supposed to reveal this until further investigation, but I also see there’s been 3 days since your post.

I’ve had these settngs many times, but noting happned (and still I haven’t had time to try it out further what is the least I can really have).
insecure=port,invite
context=from-trunk

Now my settings are:
Outgong - Peer details:
username=045234567
secret=MyPassword
host=sip.clubtele.se
type=friend
insecure=port,invite
context=from-trunk
disallow=all
allow=alaw

Incoming:
User Context: 045234567
User Details: (blank/nothing)
Register string: 045234567:[email protected]

When the origninal setup worked, I started all over again (from scratch - point zero) to see what the problem really was (not until now I’m back on the sadle again - but also gained a lot of new knowledge).

But:

  1. Outbound didn’t start work until I rebooted (settings where the same).
  2. And the inbound didn’t start to work until the above two lines where added (I missed them first time), once there inbound kicked in again.

So here, people from Sweden (using Affninity), this above is how the settings should be to get it work for you.
Hope some other people will be helped too. Several SIP-providers use the same type of settings (not all of course).
So just reboot now and then (SSH PuTTY: sudo reboot -h now) and stay happy.

// Kim

I am having this exact issue:
Outbound calls work; extension to extention calls work. Sound quality is good (No jitter)

However when I make inbound calls to my DID’s from SIPSTATION i get the following:
Allocating new SIP dialog for [email protected]0.0.1:5160 - OPTIONS (No RTP)
[2017-11-21 00:41:40] DEBUG[7900] chan_sip.c: Target address 192.159.66.3:5060 is not local, substituting externaddr
[2017-11-21 00:41:40] DEBUG[7900] chan_sip.c: SIP call-id changed from ‘[email protected]:5160’ to ‘[email protected]:5160’
[2017-11-21 00:41:40] DEBUG[7900] chan_sip.c: Initializing initreq for method OPTIONS - callid [email protected]:5160
[2017-11-21 00:41:40] DEBUG[7900] chan_sip.c: Stopping retransmission on ‘[email protected]:5160’ of Request 102: Match Found
[2017-11-21 00:41:40] DEBUG[7900] chan_sip.c: Allocating new SIP dialog for [email protected]:5160 - OPTIONS (No RTP)
[2017-11-21 00:41:40] DEBUG[7900] chan_sip.c: Target address 162.253.134.142:5060 is not local, substituting externaddr
[2017-11-21 00:41:40] DEBUG[7900] chan_sip.c: SIP call-id changed from ‘[email protected]:5160’ to ‘[email protected]:5160’
[2017-11-21 00:41:40] DEBUG[7900] chan_sip.c: Initializing initreq for method OPTIONS - callid [email protected]:5160
[2017-11-21 00:41:40] DEBUG[7900] chan_sip.c: Stopping retransmission on ‘[email protected]:5160’ of Request 102: Match Found
[2017-11-21 00:41:47] DEBUG[7900] chan_sip.c: Allocating new SIP dialog for CkbVpmp3Aw8brWmhtKjrUQ… - REGISTER (No RTP)
[2017-11-21 00:41:47] DEBUG[7900] chan_sip.c: Store REGISTER’s src-IP:port for call routing.
[2017-11-21 00:41:47] DEBUG[7900] chan_sip.c: Allocating new SIP dialog for [email protected]:5160 - OPTIONS (No RTP)
[2017-11-21 00:41:47] DEBUG[7900] chan_sip.c: SIP call-id changed from ‘[email protected]:5160’ to ‘[email protected]:5160’
[2017-11-21 00:41:47] DEBUG[7900] chan_sip.c: Initializing initreq for method OPTIONS - callid [email protected]:5160
[2017-11-21 00:41:47] DEBUG[7900] chan_sip.c: Allocating new SIP dialog for [email protected]:5160 - NOTIFY (No RTP)
[2017-11-21 00:41:47] DEBUG[7900] chan_sip.c: SIP call-id changed from ‘[email protected]:5160’ to ‘[email protected]:5160’
[2017-11-21 00:41:47] DEBUG[7900] chan_sip.c: Initializing initreq for method NOTIFY - callid [email protected]:5160
[2017-11-21 00:41:47] DEBUG[7900] chan_sip.c: Stopping retransmission on ‘[email protected]:5160’ of Request 102: Match Found
[2017-11-21 00:41:47] DEBUG[7900] chan_sip.c: Stopping retransmission on ‘[email protected]:5160’ of Request 102: Match Found
[2017-11-21 00:41:51] DEBUG[7900] chan_sip.c: Allocating new SIP dialog for Vmqy6j8JIod1CpkveC39_Q… - REGISTER (No RTP)
[2017-11-21 00:41:51] DEBUG[7900] chan_sip.c: Store REGISTER’s src-IP:port for call routing.
[2017-11-21 00:41:51] DEBUG[7900] chan_sip.c: Allocating new SIP dialog for [email protected]:5160 - OPTIONS (No RTP)
[2017-11-21 00:41:51] DEBUG[7900] chan_sip.c: SIP call-id changed from ‘[email protected]:5160’ to ‘[email protected]:5160’
[2017-11-21 00:41:51] DEBUG[7900] chan_sip.c: Initializing initreq for method OPTIONS - callid [email protected]:5160
[2017-11-21 00:41:51] DEBUG[7900] chan_sip.c: Allocating new SIP dialog for [email protected]:5160 - NOTIFY (No RTP)
[2017-11-21 00:41:51] DEBUG[7900] chan_sip.c: SIP call-id changed from ‘[email protected]:5160’ to ‘[email protected]:5160’
[2017-11-21 00:41:51] DEBUG[7900] chan_sip.c: Initializing initreq for method NOTIFY - callid [email protected]:5160
[2017-11-21 00:41:51] DEBUG[7900] chan_sip.c: Stopping retransmission on ‘[email protected]:5160’ of Request 102: Match Found
[2017-11-21 00:41:51] DEBUG[7900] chan_sip.c: Stopping retransmission on ‘[email protected]:5160’ of Request 102: Match Found

I’ve seen that this may be related to context=from-pstn however I am unaware of how to update the Asterisk Configuration to enable inbound calls to work correctly.