Hi,
I need your help on what's the correct configuration that I need to use so I can do an outbound call? Here's my current setup including the version of my ViciDial server:
Registration String:
register => 112233445566:12345567899@111.222.333.444:6789/112233445566
Account Entry:
[cts]
username=123456778899
type=friend
secret=123345677899
qualify=yes
port=6789
nat=force_rport
host=111.222.333.444
dtmfmode=rfc2833
disallow=all
context=trunkinbound
canreinvite=yes
allow=gsm
allow=ulaw
allow=alaw
allow=g729
allow=ilbc
Globals String: SIPTRUNK = SIP/cts
exten => _71NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _7XXXXXXXXXXXXXX,2,Dial(${SIPTRUNK}/${EXTEN:1}@cts,,To)
exten => _7NXXNXXXXXX,3,Hangup
VERSION: 2.14-732a
BUILD: 200108-0937
The carrier successfully registered. However, when I tried to perform an outbound calls, the Asterisk logs always shows below and the calls didn't go thru:
chan_sip.c:26515 handle_request_invite: Call from '132' (123.123.123.123:65476) to extension '7861064648855' rejected because extension not found in context 'default'.
I need to use number 7 as my Prefix. I followed this guide (https://www.etollfree.net/predictive-di ... -dids.html) to configure my ViciDial.
Hope you can help me. Thank you in advance!