Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid
I can make outbound calls, but I cannot receive inbound calls
[Apr 18 14:30:11] NOTICE[2276]: chan_sip.c:15147 handle_request_invite: Call from '+3513020XXXXX' to extension '+3513020XXXXX' rejected because extension not found.
[Apr 18 14:31:18]
<--- SIP read from 213.13.89.67:5070 --->
INVITE sip:+351302025805@192.168.127.241 SIP/2.0
Via: SIP/2.0/UDP 213.13.89.67:5070;branch=z9hG4bKbo0cqr1090d162lru2v1.1
From: <sip:+351210346421@213.13.89.67;user=phone>;tag=001b026200003add
To: <sip:+351302025805@213.13.89.67:5060;user=phone>
Call-ID: 001b026200003add
CSeq: 1 INVITE
Max-Forwards: 29
Contact: <sip:+351210346421@213.13.89.67:5070;user=phone;transport=udp>
Accept-Encoding: identity
Allow: INVITE,ACK,BYE,CANCEL,PRACK,UPDATE,INFO,OPTIONS,REFER,NOTIFY
Priority: normal
Supported: 100rel
P-Charging-Vector: icid-value=001b0262180414311807
P-Asserted-Identity: <sip:+351210346421@10.169.54.4;user=phone>
Content-Disposition: session;handling=required
Content-Type: application/sdp
Content-Length: 168
v=0
o=- 168627717 168627718 IN IP4 213.13.89.67
s=-
c=IN IP4 213.13.89.67
t=0 0
m=audio 43976 RTP/AVP 18 4 8 0 101
a=rtpmap:101 telephone-event/8000
a=ptime:20
<------------->
[Apr 18 14:31:18] --- (17 headers 8 lines) ---
[Apr 18 14:31:18] Sending to 213.13.89.67 : 5070 (NAT)
[Apr 18 14:31:18] Using INVITE request as basis request - 001b026200003add
[Apr 18 14:31:18] Found peer 'trunkinbound'
[Apr 18 14:31:18] Found RTP audio format 18
[Apr 18 14:31:18] Found RTP audio format 4
[Apr 18 14:31:18] Found RTP audio format 8
[Apr 18 14:31:18] Found RTP audio format 0
[Apr 18 14:31:18] Found RTP audio format 101
[Apr 18 14:31:18] Found audio description format telephone-event for ID 101
[Apr 18 14:31:18] Capabilities: us - 0x4 (ulaw), peer - audio=0x10d (g723|ulaw|aaw|g729)/video=0x0 (nothing), combined - 0x4 (ulaw)
[Apr 18 14:31:18] Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
[Apr 18 14:31:18] Peer audio RTP is at port 213.13.89.67:43976
[Apr 18 14:31:18] Looking for +351302025805 in trunkinbound (domain 192.168.127.241)
[Apr 18 14:31:19]
<--- Reliably Transmitting (NAT) to 213.13.89.67:5070 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 213.13.89.67:5070;branch=z9hG4bKbo0cqr1090d162lru2v1.1;received=213.13.89.67
From: <sip:+351210346421@213.13.89.67;user=phone>;tag=001b026200003add
To: <sip:+351302025805@213.13.89.67:5060;user=phone>;tag=as57e918bf
Call-ID: 001b026200003add
CSeq: 1 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
<------------>
[Apr 18 14:31:19] NOTICE[2276]: chan_sip.c:15147 handle_request_invite: Call from '+351302025805' to extension '+351302025805' rejected because extension not fo und.
[Apr 18 14:31:19] Scheduling destruction of SIP dialog '001b026200003add' in 6400 ms (Method: INVITE)
[Apr 18 14:31:19]
<--- SIP read from 213.13.89.67:5070 --->
INVITE sip:+351302025805@82.154.250.214 SIP/2.0
Via: SIP/2.0/UDP 213.13.89.67:5070;branch=z9hG4bKb87fs42090f132lti6h0.1
From: <sip:+351210346421@213.13.89.67;user=phone>;tag=001b026200003add
To: <sip:+351302025805@213.13.89.67:5060;user=phone>
Call-ID: 001b026200003add
CSeq: 1 INVITE
Max-Forwards: 29
Contact: <sip:+351210346421@213.13.89.67:5070;user=phone;transport=udp>
Accept-Encoding: identity
Allow: INVITE,ACK,BYE,CANCEL,PRACK,UPDATE,INFO,OPTIONS,REFER,NOTIFY
Priority: normal
Supported: 100rel
P-Charging-Vector: icid-value=001b0262180414311807
P-Asserted-Identity: <sip:+351210346421@10.169.54.4;user=phone>
Content-Disposition: session;handling=required
Content-Type: application/sdp
Content-Length: 168
v=0
o=- 168627717 168627718 IN IP4 213.13.89.67
s=-
c=IN IP4 213.13.89.67
t=0 0
m=audio 34144 RTP/AVP 18 4 8 0 101
a=rtpmap:101 telephone-event/8000
a=ptime:20
<------------->
[Apr 18 14:31:19] --- (17 headers 8 lines) ---
[Apr 18 14:31:19] Ignoring this INVITE request
[Apr 18 14:31:19]
<--- SIP read from 213.13.89.67:5070 --->
ACK sip:+351302025805@192.168.127.241 SIP/2.0
Via: SIP/2.0/UDP 213.13.89.67:5070;branch=z9hG4bKbo0cqr1090d162lru2v1.1
CSeq: 1 ACK
From: <sip:+351210346421@213.13.89.67;user=phone>;tag=001b026200003add
To: <sip:+351302025805@213.13.89.67:5060;user=phone>;tag=as57e918bf
Call-ID: 001b026200003add
Max-Forwards: 29
Content-Length: 0
<------------->
[Apr 18 14:31:19] --- (8 headers 0 lines) ---
[Apr 18 14:31:19] Really destroying SIP dialog '001b026200003add' Method: ACK
[Apr 18 14:31:19]
<--- SIP read from 213.13.89.67:5070 --->
INVITE sip:+351302025805@82.154.250.214 SIP/2.0
Via: SIP/2.0/UDP 213.13.89.67:5070;branch=z9hG4bKb87fs42090f132lti6h0.1
From: <sip:+351210346421@213.13.89.67;user=phone>;tag=001b026200003add
To: <sip:+351302025805@213.13.89.67:5060;user=phone>
Call-ID: 001b026200003add
CSeq: 1 INVITE
Max-Forwards: 29
Contact: <sip:+351210346421@213.13.89.67:5070;user=phone;transport=udp>
Accept-Encoding: identity
Allow: INVITE,ACK,BYE,CANCEL,PRACK,UPDATE,INFO,OPTIONS,REFER,NOTIFY
Priority: normal
Supported: 100rel
P-Charging-Vector: icid-value=001b0262180414311807
P-Asserted-Identity: <sip:+351210346421@10.169.54.4;user=phone>
Content-Disposition: session;handling=required
Content-Type: application/sdp
Content-Length: 168
v=0
o=- 168627717 168627718 IN IP4 213.13.89.67
s=-
c=IN IP4 213.13.89.67
t=0 0
m=audio 34144 RTP/AVP 18 4 8 0 101
a=rtpmap:101 telephone-event/8000
a=ptime:20
<------------->
[Apr 18 14:31:19] --- (17 headers 8 lines) ---
[Apr 18 14:31:19] Sending to 213.13.89.67 : 5070 (NAT)
[Apr 18 14:31:19] Using INVITE request as basis request - 001b026200003add
[Apr 18 14:31:19] Found peer 'trunkinbound'
[Apr 18 14:31:19] Found RTP audio format 18
[Apr 18 14:31:19] Found RTP audio format 4
[Apr 18 14:31:19] Found RTP audio format 8
[Apr 18 14:31:19] Found RTP audio format 0
[Apr 18 14:31:19] Found RTP audio format 101
[Apr 18 14:31:19] Found audio description format telephone-event for ID 101
[Apr 18 14:31:19] Capabilities: us - 0x4 (ulaw), peer - audio=0x10d (g723|ulaw|alaw|g729)/video=0x0 (nothing), combined - 0x4 (ulaw)
[Apr 18 14:31:19] Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
[Apr 18 14:31:19] Peer audio RTP is at port 213.13.89.67:34144
[Apr 18 14:31:19] Looking for +351302025805 in trunkinbound (domain 82.154.250.24)
[Apr 18 14:31:19]
<--- Reliably Transmitting (NAT) to 213.13.89.67:5070 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 213.13.89.67:5070;branch=z9hG4bKb87fs42090f132lti6h0.1;received=213.13.89.67
From: <sip:+351210346421@213.13.89.67;user=phone>;tag=001b026200003add
To: <sip:+351302025805@213.13.89.67:5060;user=phone>;tag=as1a95ed9d
Call-ID: 001b026200003add
CSeq: 1 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
<------------>
[Apr 18 14:31:19] NOTICE[2276]: chan_sip.c:15147 handle_request_invite: Call from '+351302025805' to extension '+351302025805' rejected because extension not fo und.
[Apr 18 14:31:19] Scheduling destruction of SIP dialog '001b026200003add' in 6400 ms (Method: INVITE)
[Apr 18 14:31:19]
<--- SIP read from 213.13.89.67:5070 --->
ACK sip:+351302025805@82.154.250.214 SIP/2.0
Via: SIP/2.0/UDP 213.13.89.67:5070;branch=z9hG4bKb87fs42090f132lti6h0.1
CSeq: 1 ACK
From: <sip:+351210346421@213.13.89.67;user=phone>;tag=001b026200003add
To: <sip:+351302025805@213.13.89.67:5060;user=phone>;tag=as1a95ed9d
Call-ID: 001b026200003add
Max-Forwards: 29
Content-Length: 0
<------------->
[Apr 18 14:31:19] --- (8 headers 0 lines) ---
[Apr 18 14:31:19] Really destroying SIP dialog '001b026200003add' Method: ACK
[trunkinbound]
[telepacIN]
exten => _.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _.,2,Dial(${SIPgoautodial}/${EXTEN:1},,tTor)
exten => _.,3,Hangup
[trunkinbound]
; DID call routing process
exten => _X.,1,Set(CALLERID(num)=${CALLERID(num):1})
exten => _X.,n,AGI(agi-DID_route.agi)
; FastAGI for VICIDIAL/astGUIclient call logging
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})
== Console is full duplex
-- Executing [351210346421@trunkinbound:1] Set("Console/dsp", "CALLERID(num)=") in new stack
-- Executing [351210346421@trunkinbound:2] AGI("Console/dsp", "agi-DID_route.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
-- AGI Script agi-DID_route.agi completed, returning 0
-- Executing [99909*1*@default:1] Answer("Console/dsp", "") in new stack
<< Console call has been answered >>
-- Executing [99909*1*@default:2] AGI("Console/dsp", "agi-VDAD_ALL_inbound.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_inbound.agi
-- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
-- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Apr 18 15:27:54] WARNING[7655]: res_musiconhold.c:669 get_mohbyname: Music on Hold class 'default' not found
[Apr 18 15:27:54] WARNING[7655]: res_musiconhold.c:669 get_mohbyname: Music on Hold class 'default' not found
-- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
-- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
-- Playing 'generic_hold' (escape_digits=) (sample_offset 0)
[trunkinbound]
; DID call routing process
exten => _.,1,Set(CALLERID(num)=${CALLERID(num):1})
exten => _.,n,AGI(agi-DID_route.agi)
-- Executing [+351302025805@trunkinbound:1] Set("SIP/telepacIN-00000000", "CALLERID(num)=351210346421") in new stack
-- Executing [+351302025805@trunkinbound:2] AGI("SIP/telepacIN-00000000", "agi-DID_route.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
-- AGI Script agi-DID_route.agi completed, returning 0
== Auto fallthrough, channel 'SIP/telepacIN-00000000' status is 'UNKNOWN'
-- Executing [h@trunkinbound:1] DeadAGI("SIP/telepacIN-00000000", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0
-- Executing [h@trunkinbound:2] AGI("SIP/telepacIN-00000000", "agi-DID_route.agi") in new stack
[Apr 18 15:34:50] WARNING[9535]: res_agi.c:2175 agi_exec: If you want to run AGI on hungup channels you should use DeadAGI!
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
== Spawn extension (trunkinbound, h, 2) exited non-zero on 'SIP/telepacIN-00000000'
[Apr 18 15:35:00] WARNING[9527]: chan_sip.c:2015 retrans_pkt: Maximum retries exceeded on transmission 001b057b00001a54 for seqno 1 (Critical Response) -- See doc/sip-retransmit.txt.
Check your sip debug. If you are transmitting sip packets and not receiving a response, the culprit is always firewall. Try DMZ if you can, but that doesn't always do it.Maximum retries exceeded on transmission
<--- SIP read from 213.13.89.67:5070 --->
INVITE sip:+351302025805@192.168.20.12 SIP/2.0
Via: SIP/2.0/UDP 213.13.89.67:5070;branch=z9hG4bKmilet90068c0f19f53f0.1
From: <sip:+351210346421@213.13.89.67;user=phone>;tag=001b053c00006b29
To: <sip:+351302025805@213.13.89.67:5060;user=phone>
Call-ID: 001b053c00006b29
CSeq: 1 INVITE
Max-Forwards: 29
Contact: <sip:+351210346421@213.13.89.67:5070;user=phone;transport=udp>
Accept-Encoding: identity
Allow: INVITE,ACK,BYE,CANCEL,PRACK,UPDATE,INFO,OPTIONS,REFER,NOTIFY
Priority: normal
Supported: 100rel
P-Charging-Vector: icid-value=001b053c180416433904
P-Asserted-Identity: <sip:+351210346421@10.169.54.4;user=phone>
Content-Disposition: session;handling=required
Content-Type: application/sdp
Content-Length: 168
v=0
o=- 168624567 168624568 IN IP4 213.13.89.67
s=-
c=IN IP4 213.13.89.67
t=0 0
m=audio 35954 RTP/AVP 18 4 8 0 101
a=rtpmap:101 TELEPHONE-EVENT/8000
a=ptime:20
<------------->
--- (17 headers 8 lines) ---
Sending to 213.13.89.67 : 5070 (NAT)
Using INVITE request as basis request - 001b053c00006b29
Found peer 'telepacIN'
Found RTP audio format 18
Found RTP audio format 4
Found RTP audio format 8
Found RTP audio format 0
Found RTP audio format 101
Found audio description format TELEPHONE-EVENT for ID 101
Capabilities: us - 0x4 (ulaw), peer - audio=0x10d (g723|ulaw|alaw|g729)/video=0x0 (nothing), combined - 0x4 (ulaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
Peer audio RTP is at port 213.13.89.67:35954
Looking for +351302025805 in trunkinbound (domain 192.168.20.12)
list_route: hop: <sip:+351210346421@213.13.89.67:5070;user=phone;transport=udp>
<--- Transmitting (NAT) to 213.13.89.67:5070 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 213.13.89.67:5070;branch=z9hG4bKmilet90068c0f19f53f0.1;received=213.13.89.67
From: <sip:+351210346421@213.13.89.67;user=phone>;tag=001b053c00006b29
To: <sip:+351302025805@213.13.89.67:5060;user=phone>
Call-ID: 001b053c00006b29
CSeq: 1 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Contact: <sip:+351302025805@192.168.20.12>
Content-Length: 0
<------------>
-- Executing [+351302025805@trunkinbound:1] Set("SIP/telepacIN-00000000", "CALLERID(num)=351210346421") in new stack
-- Executing [+351302025805@trunkinbound:2] AGI("SIP/telepacIN-00000000", "agi-DID_route.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
-- AGI Script agi-DID_route.agi completed, returning 0
== Auto fallthrough, channel 'SIP/telepacIN-00000000' status is 'UNKNOWN'
-- Executing [h@trunkinbound:1] DeadAGI("SIP/telepacIN-00000000", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0
-- Executing [h@trunkinbound:2] AGI("SIP/telepacIN-00000000", "agi-DID_route.agi") in new stack
[Apr 18 16:43:40] WARNING[3999]: res_agi.c:2175 agi_exec: If you want to run AGI on hungup channels you should use DeadAGI!
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
== Spawn extension (trunkinbound, h, 2) exited non-zero on 'SIP/telepacIN-00000000'
Scheduling destruction of SIP dialog '001b053c00006b29' in 6400 ms (Method: INVITE)
new-host-5*CLI>
<--- Reliably Transmitting (NAT) to 213.13.89.67:5070 --->
SIP/2.0 603 Declined
Via: SIP/2.0/UDP 213.13.89.67:5070;branch=z9hG4bKmilet90068c0f19f53f0.1;received=213.13.89.67
From: <sip:+351210346421@213.13.89.67;user=phone>;tag=001b053c00006b29
To: <sip:+351302025805@213.13.89.67:5060;user=phone>;tag=as1ec5301d
Call-ID: 001b053c00006b29
CSeq: 1 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
<------------>
new-host-5*CLI>
<--- SIP read from 213.13.89.67:5070 --->
ACK sip:+351302025805@192.168.20.12 SIP/2.0
Via: SIP/2.0/UDP 213.13.89.67:5070;branch=z9hG4bKmilet90068c0f19f53f0.1
CSeq: 1 ACK
From: <sip:+351210346421@213.13.89.67;user=phone>;tag=001b053c00006b29
To: <sip:+351302025805@213.13.89.67:5060;user=phone>;tag=as1ec5301d
Call-ID: 001b053c00006b29
Max-Forwards: 29
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
Really destroying SIP dialog '001b053c00006b29' Method: ACK
new-host-5*CLI>
<--- SIP read from 192.168.20.4:8614 --->
<------------->
Really destroying SIP dialog '392b8daa096509510c4142e13818ee09@192.168.20.12' Method: REGISTER
Declined is something you may want to discuss with your provider. But WHAT was declined? (No time to read tonight ).SIP/2.0 603 Declined
[trunkinbound]
; DID call routing process
exten => _.,1,Set(CALLERID(num)=${CALLERID(num):1})
exten => _.,n,AGI(agi-DID_route.agi)
1) Place your fix in the Vicidial Issue tracker (it may be helpful to allow DID's to accept the + sign starting with the version of Vicidial you are using ...)
-- Executing [+351302025805@trunkinbound:1] Set("SIP/telepacIN-00000003", "CALLERID(num)=351210346421") in new stack
-- Executing [+351302025805@trunkinbound:2] AGI("SIP/telepacIN-00000003", "agi-DID_route.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
-- AGI Script agi-DID_route.agi completed, returning 0
-- Executing [s@CentrodeSuporte:1] AGI("SIP/telepacIN-00000003", "agi-VDAD_inbound_calltime_check.agi|InboundGroup-----YES-----CentrodeSuporte-----5pm-9pm-----HANGUP-----vm-goodbye-----") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_inbound_calltime_check.agi
-- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
-- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
-- AGI Script agi-VDAD_inbound_calltime_check.agi completed, returning 0
-- Executing [s@CentrodeSuporte:2] BackGround("SIP/telepacIN-00000003", "Bem-Vindo-Menu") in new stack
-- <SIP/telepacIN-00000003> Playing 'Bem-Vindo-Menu' (language 'en')
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing [h@CentrodeSuporte:1] DeadAGI("SIP/telepacIN-00000003", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0
Return to ViciDialNow - GoAutoDial
Users browsing this forum: No registered users and 6 guests