asterisk2billing.org
http://forum.asterisk2billing.org/

rejected because extension not found in context 'defaultt'.
http://forum.asterisk2billing.org/viewtopic.php?f=21&t=8315
Page 1 of 1

Author:  mikai [ Fri Nov 05, 2010 2:03 am ]
Post subject:  rejected because extension not found in context 'defaultt'.

We installed the software and we are having an issue with calls hiting the server and getting rejected not going to the correct place.
as you can see i do have the context correct (or do I ? ! hmm)
i blocked out the Ip address
Nov 4 20:37:58] NOTICE[23963]: chan_sip.c:20200 handle_request_invite: Call from '' to extension 'xx.xx.xx.xx' rejected because extension not found in context 'defaultt'.

SIP conf
[provder name]
host=xxx.xx.xx.xx
dtmfmode=rfc2833
dtmf=rfc2833
type=peer
canreinvite=no
context=a2billing-did
insecure=very
nat=never
disallow=all
allow=g729
allow=ulaw


Extension

[a2billing-did]
; CallingCard application
;exten => _X.,1,Answer
;exten => _X.,2,Wait,2
exten => _X.,1,DeadAGI,a2billing.php
exten => _X.,2,Wait,2
exten => _X.,3,Hangup


[a2billing-main]
exten => _X.,1,Answer
exten => _X.,n,Wait(1)
exten => _X.,n,AGI(a2billing.php|1)
exten => _X.,n,Hangup

;exten => dialvm,1,Macro(DialToClient,${DialNum},${HasVoicemail})
exten => dialvm,1,Macro(DialToClient,${DialNum},1)


[a2billing]
include => vmmain
include => static
include => a2billing-main

;exten => _X.,1,Answer
;exten => _X.,n,Wait(1)
;exten => _X.,n,AGI(a2billing.php|1)
;exten => _X.,n,Hangup

[a2billing-callback]
exten => _X.,1,DeadAGI(a2billing.php|1|callback)
exten => _X.,n,Hangup

[a2billing-cid-callback]
exten => _X.,1,DeadAGI(a2billing.php|1|cid-callback|34) ;last parameter is the callback area code
exten => _X.,n,Hangup

[a2billing-all-callback]
exten => _X.,1,DeadAGI(a2billing.php|1|all-callback|34) ;last parameter is the callback area code
exten => _X.,n,Hangup

[a2billing-predictivedialer]
exten => _X.,1,DeadAGI(a2billing.php|1|predictivedialer)
exten => _X.,n,Hangup

[a2billing-]
include =>vmmain
exten => _X.,1,Set(CardId=0)
exten => _X.,n,AGI(a2billing_vm_check_did.php,${EXTEN})
exten => _X.,n,GotoIf($["${CardId}" != "0"]?a2billing-main,dialvm,1)
exten => _X.,n,AGI(a2billing.php|1|did)
exten => _X.,n,Hangup

[from-didww]
include=>vmmain
[a2billing-voucher]
exten => _X.,1,AGI(a2billing.php|1|voucher)
exten => _X.,n,Hangup

need help at this point ill pay someone to get this night mare over wink wink
anyways if someone can tell me or even rewrite the correct info
HELPPPP

Author:  jroper [ Fri Nov 05, 2010 11:22 am ]
Post subject:  Re: rejected because extension not found in context 'defaultt'.

Hi

have a look in sip.conf to see if you can find a context being directed to called "default", you may want to change this to something lik A2Billing, or a2billing-did depending on how you want to the call to be treated.

joe

Author:  jodafi [ Fri May 15, 2015 7:45 pm ]
Post subject:  Re: rejected because extension not found in context 'defaultt'.

the fix is actually in your ASTERISK Trunk defined for the incoming number you are trying to reach. For IPKall settings you would need to add the user settings and the registration information.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/