Project

General

Profile

extension not found in context 'default'

Added by shawn bure over 9 years ago

I have just installed (and re-installed) the server, sip carrier is registered and when dialing OUTBOUND with a desk phone, I get this in the asterisk CLI:

[Nov 18 19:20:34] NOTICE17116: chan_sip.c:23534 handle_request_invite: Call from '8001' (192.168.2.5:23314) to extension '4805551212' rejected because extension not found in context 'default'.

I need help.

Shawn


Replies (6)

RE: extension not found in context 'default' - Added by shawn bure over 9 years ago

This is the system generated dialplan:

exten => _0962986579.,1,AGI
exten => _0962986579.,2,Dial(SIP/${EXTEN:10}@sipus,,tTo)
exten => _0962986579.,3,Hangup

I tried this with the same results:

exten => _1NXXNXXXXXX,1,AGI
exten => _1NXXNXXXXXX,2,Dial(SIP/${EXTEN:10}@sipus,,tTo)
exten => _1NXXNXXXXXX,3,Hangup

RE: extension not found in context 'default' - Added by Demian Biscocho over 9 years ago

What's the phone number that you were trying to call? 14805551212 or just 4805551212?

RE: extension not found in context 'default' - Added by SWANAND AWATADE over 9 years ago

TRY This settings

TEST

register =>"USER":"PASS"@"IP":5060/"USER"

[TEST]
type=friend
username="USER"
secret="PASS"
host="IP"
fromdomain="IP"
insecure=port,invite
context=default
fromuser="USER"
disallow=all
allow=g729
nat=yes
reinvite=no

TRUNK9 = SIP/TEST

exten => _9X.,1,AGI
exten => _9X.,2,Dial(${TRUNK9}/${EXTEN:1},,Tor)
exten => _9X.,3,Hangup

RE: extension not found in context 'default' - Added by richard guevarra over 9 years ago

exten => _1NXXNXXXXXX,1,AGI
exten => _1NXXNXXXXXX,2,Dial(SIP/${EXTEN:1}@sipus,,tTo)
exten => _1NXXNXXXXXX,3,Hangup

RE: extension not found in context 'default' - Added by Blake Fallow over 9 years ago

I'm getting the same thing:

"[Nov 27 18:50:48] NOTICE4618: chan_sip.c:23534 handle_request_invite: Call from '8001' (192.168.113.1:37561) to extension '915613149540' rejected because extension not found in context 'default'."

[Test]
disallow=all
allow=gsm
allow=ulaw
type=friend
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
insecure=very
nat=yes
host=IP
allow=alaw
allow=g729
username=user
secret=password

exten => _5254922482.,1,AGI
exten => _5254922482.,2,Dial(SIP/${EXTEN:10}@Allworx,,tTo)
exten => _5254922482.,3,Hangup

RE: extension not found in context 'default' - Added by Levy Ryan Nolasco over 9 years ago

Hi,

Your extension context doesn't match with your carrier entry. Try this. Then on your campaign settings "Carrier to use for this campaign" select the Carrier ID where the below settings are configured.

[Allworx]
disallow=all
allow=gsm
allow=ulaw
type=friend
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
insecure=very
nat=yes
host=IP
allow=alaw
allow=g729
username=user
secret=password

exten => _5254922482.,1,AGI
exten => _5254922482.,2,Dial(SIP/${EXTEN:10}@Allworx,,tTo)
exten => _5254922482.,3,Hangup

    (1-6/6)
    Go to top