[vitel-inbound]
type=friend
dtmfmode=auto
host=xxxx.xxxx
context=from-trunk
allow=all
insecure=port,invite
canreinvite=no
[vitel-outbound]
type=friend
dtmfmode=auto
host=x.x.x.x
allow=all
canreinvite=no
exten => _91NXXNXXXXXX,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,2,Dial(SIP/vitel-outbound/${EXTEN:1},,To)
exten => _91NXXNXXXXXX,3,Hangup
[trunkinbound]
exten => 6192596327,1,Answer
This is what is showing on CLI
[Sep 23 05:06:58] --- (17 headers 16 lines) ---
[Sep 23 05:06:58] Sending to 64.2.142.90:5060 (NAT)
[Sep 23 05:06:58] Using INVITE request as basis request -
10a6fb59438a995e4ed95f8501f60756@64.2.142.229[Sep 23 05:06:58] No matching peer for '7147844990' from '64.2.142.90:5060'
[Sep 23 05:06:58] NOTICE[2338]: chan_sip.c:23412 handle_request_invite: Failed to authenticate device "7147844990" <sip:7147844990@64.2.142.229>;tag=as656935d5
[Sep 23 05:06:58]
<--- Reliably Transmitting (NAT) to 64.2.142.90:5060 --->
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 64.2.142.90;branch=z9hG4bKc96c.3b7964b6.0;received=64.2.142.90;rport=5060
Via: SIP/2.0/UDP 64.2.142.229:5060;received=64.2.142.229;branch=z9hG4bK116c3a34;rport=5060
From: "7147844990" <sip:7147844990@64.2.142.229>;tag=as656935d5
To: <sip:6192596327@192.168.1.64>;tag=as3dfc0ee5
Call-ID:
10a6fb59438a995e4ed95f8501f60756@64.2.142.229CSeq: 103 INVITE
Server: Asterisk PBX 1.8.23.0-vici
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0