I have installed the latest vicibox on one server as a test.
Added CARRIER and tested outgoing calls. Made some calls, oll ok
Added DID 441xxxxxx88 and directed it to a phone.
When the incoming call hits the server I have error message:
- Code: Select all
NOTICE[3080]: chan_sip.c:23691 handle_request_invite: Call from '441xxxxxx88' (ip-address:5060) to extension 's' rejected because extension not found in context 'trunkinbound'.
It must be a simple misstake, but I cant figure it out what is wrong.
I have configured CARRIER as fallows:
Account Entry:
- Code: Select all
[UK-Calling]
type=friend
username=441xxxxxx88
secret=xvssssss1
host=prox???????com
insecure=port,invite
fromuser=441xxxxxx88
context=trunkinbound
Dialplan:
- Code: Select all
exten => _90044.,1,AGI(agi://127.0.0.1:4577/call_log) remove spaces
exten => _90044.,2,Dial(${TRUNK}/0${EXTEN:5},,To)
exten => _90044.,3,Hangup
exten => _0044XX.,1,AGI(agi://127.0.0.1:4577/call_log) remove spaces
exten => _0044XX.,2,Dial(${TRUNK}/0${EXTEN:4},,To)
exten => _0044XX.,3,Hangup
exten => _XXXXXX.,1,AGI(agi://127.0.0.1:4577/call_log) remove spaces
exten => _XXXXXX.,2,Dial(${TRUNK}/${EXTEN},,To)
exten => _XXXXXX.,3,Hangup
exten => _999,1,AGI(agi://127.0.0.1:4577/call_log) remove spaces
exten => _999,2,Dial(${TRUNK}/${EXTEN},,To)
exten => _999,3,Hangup
exten => _112,1,AGI(agi://127.0.0.1:4577/call_log) remove spaces
exten => _112,2,Dial(${TRUNK}/${EXTEN},,To)
exten => _112,3,Hangup