Hi everyone!
I have some problem with my asterisk. My sip extenstion register to xlite correct, but when i want to call to someone, than i get this notice:
“[Oct 17 15:44:18] NOTICE[25542][C-00000002]: chan_sip.c:26696 handle_request_invite: Call from ‘100’ to extension ‘102’ rejected because extension not found in context ‘default’.”
my sip file:
[general]
;context=incoming
allowguest=yes
callerid=Unknown
bindport=5060
localnet=ip/24
[internal](!)
canreinvite=no
type=friend
host=dynamic
nat=no
qualify=yes
[100](internal)
username=100
secret=***
[102](internal)
username=101
secret=***
My extension file
exten => 102,2,Log(NOTICE,context: INTERNAL, CALL DIALING....)
same => n,Vxml(path to script)
same => n,Log(NOTICE,error z voximala: $["${VOXIMAL_ERROR}"])
same => n,Hangup
CLI: dialplan show 102 @ internal
debian*CLI> dialplan show 102 @ internal
[ Context 'internal' created by 'pbx_config' ]
'102' => 2. Log(NOTICE,context: INTERNAL, CALL DIALING....) [extensions.conf:6]
3. Vxml(path to script) [extensions.conf:7]
4. Log(NOTICE,error z voximala: $["${VOXIMAL_ERROR}"]) [extensions.conf:8]
5. Hangup()
[extensions.conf:9]
-= 1 extension (4 priorities) in 1 context. =-
Do you have any idea? When i uncomment context from [global] than nathings happen.