Page 1 of 1

Inbound DID Looping

PostPosted: Thu Dec 05, 2013 2:31 pm
by rjlucky
Team,
I have an issue where the DID keeps looping.
I created the DID, pointed it to an In-Group and set the trunk context=trunkinbound.

I see the call coming in but it keeps dialing back out like an outbound call and coming back into the Dialer.

I tried to post the output but it says I am spamming, remove some URL thingy.

Any ideas?

Re: Inbound DID Looping

PostPosted: Thu Dec 05, 2013 9:00 pm
by williamconley
You'll likely find that the inbound call is not matching up to your sip account. And the account it does match to is set to "default" which dials the number out through your carrier. Then the carrier calls you because it's your number.

Put that number in your carrier "dialplan entry" as an immediate cancel. This will prove the point. Then use sip debug to find out which account it's actually linking the inbound sip request to ... and fix it. 8-)

also a good reason to NOT allow "Straight Dialing". if you required a dial prefix ... these calls would simply have failed instead of looping.

Re: Inbound DID Looping

PostPosted: Thu Dec 05, 2013 11:35 pm
by rjlucky
Hi William,

Just prefixed all my dialplans. Thanks for the heads up.

I must say I didn't do a full debug. My SIP peer actually uses domain names, so, after watching the debug I found that the Inbound DID was coming from an IP address unknown to the Dialer.

I created a new Carrier with that IP and all works well.

Thanks alot man.