Page 1 of 1

DID routing to IN_GROUP with error

PostPosted: Mon Apr 12, 2010 10:38 am
by ykhan
I have setup an INGROUP and corresponding DID to point to it. When I login to the campaign (Blended enabled and Allowed Inbound Groups pointing to my INGROUP), I get the following notice in the Asterisk CLI:

NOTICE[16029]: chan_sip.c:14075 handle_request_invite: Call from '1258018132' to extension '12125XXXXXX' rejected because extension not found.

VERSION: 2.0.5-173
BUILD: 90320-0424

PostPosted: Mon Apr 12, 2010 3:56 pm
by mflorell
What context do you have set in sip.conf(or your carriers entry) for this carrier?

PostPosted: Tue Apr 13, 2010 7:54 am
by ykhan
I was using "trunkinbound", but that did not work. I have traced the issue down to the two entries for the carrier that I have. One entry was for Outbound and the other is for inbound. I had to add the "exten => _X.,1,AGI(agi-DID_route.agi)" line to the Dialplan section of the inbound carrier entry that I made with the specific phone number. The work around is functional, but would really like to understand why the trunkinbound is not working.

Thanks.

PostPosted: Mon May 17, 2010 1:34 am
by felfel
Hi ykhan,

With asterisk "You can't register twice to a carrier". In fact you can but only the last regsitery is keeped by your carrier to send your inbound calls. So if your last resgistery was the outbound one, your carrier will send you all incoming calls to the outbound extension, and never reach the trunkinbound.

just keep one regsitery and point it to trunkinbound