Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
williamconley wrote:asterisk manager interface (AMI) version?
telnet localhost 5038
Action: Logoff
ps aux | grep SCREEN
I am getting this yes from asterisk -r right after enabled the agi (agi set debug on).
screen -r asterisk
private networkIs the call in question from off the private network or inside the private network?
[root@ip-172-23-12-178 centos]# ps aux | grep SCREEN
root 3728 0.0 0.0 127768 1380 ? Ss 10:58 0:00 /usr/bin/SCREEN -S astshell20190514105645
root 3752 0.0 0.0 128564 2180 ? Ss 10:58 0:00 SCREEN -L -S asterisk
root 3960 0.0 0.0 127768 1276 ? Ss 10:58 0:09 /usr/bin/SCREEN -d -m -S ASTupdate /usr/share/astguiclient/AST_update_AMI2.pl
root 3963 0.0 0.0 127768 1276 ? Ss 10:58 0:04 /usr/bin/SCREEN -d -m -S ASTsend /usr/share/astguiclient/AST_manager_send.pl
root 3966 0.0 0.0 127768 1284 ? Ss 10:58 0:00 /usr/bin/SCREEN -d -m -S ASTlisten /usr/share/astguiclient/AST_manager_listen_AMI2.pl
root 3969 0.0 0.0 127768 1284 ? Ss 10:58 0:01 /usr/bin/SCREEN -d -m -S ASTVDauto /usr/share/astguiclient/AST_VDauto_dial.pl
root 3973 0.0 0.0 127768 1280 ? Ss 10:58 0:00 /usr/bin/SCREEN -d -m -S ASTVDremote /usr/share/astguiclient/AST_VDremote_agents.pl --debug
root 3977 0.0 0.0 127768 1280 ? Ss 10:58 0:03 /usr/bin/SCREEN -d -m -S ASTVDadapt /usr/share/astguiclient/AST_VDadapt.pl --debug
root 3980 0.0 0.0 127768 1280 ? Ss 10:58 0:00 /usr/bin/SCREEN -d -m -S ASTfastlog /usr/share/astguiclient/FastAGI_log.pl --debug
root 3985 0.0 0.0 127768 1284 ? Ss 10:58 0:00 /usr/bin/SCREEN -d -m -S ASTVDadFILL /usr/share/astguiclient/AST_VDauto_dial_FILL.pl --debug
root 3995 0.0 0.0 127768 1280 ? Ss 10:58 0:00 /usr/bin/SCREEN -d -m -S ASTconf3way /usr/share/astguiclient/AST_conf_update_3way.pl --debug
root 4054 0.0 0.0 112708 980 pts/11 S+ 17:05 0:00 grep --color=auto SCREEN
dialer.+ 16898 0.0 0.0 127768 1476 ? Ss 12:45 0:00 SCREEN -S april16
dialer.+ 16985 0.0 0.0 127768 1476 ? Ss 12:46 0:00 SCREEN -S april17
dialer.+ 17074 0.0 0.0 127768 1476 ? Ss 12:46 0:00 SCREEN -S april18
dialer.+ 17184 0.0 0.0 127768 1476 ? Ss 12:46 0:00 SCREEN -S april19
[May 14 17:07:37] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_callerid: unknown
[May 14 17:07:37] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_calleridname: V5141707360000064962
[May 14 17:07:37] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_callingpres: 0
[May 14 17:07:37] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_callingani2: 0
[May 14 17:07:37] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_callington: 0
[May 14 17:07:37] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_callingtns: 0
[May 14 17:07:37] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_dnid: unknown
[May 14 17:07:37] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_rdnis: unknown
[May 14 17:07:37] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_context: default
[May 14 17:07:37] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_extension: 138367
[May 14 17:07:37] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_priority: 1
[May 14 17:07:37] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_enhanced: 0.0
[May 14 17:07:37] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_accountcode:
[May 14 17:07:37] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_threadid: 140627828463360
[May 14 17:07:37] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_arg_1: V5141707360000064962
[May 14 17:07:37] <Local/916317918378@default-0000001f;1>AGI Tx >>
[May 14 17:07:37] -- Channel SIP/twilionew-0000002c joined 'simple_bridge' basic-bridge <5bb66cf4-52b8-4222-822b-8543670f6ff9>
[May 14 17:07:37] -- Channel Local/916317918378@default-0000001f;2 joined 'simple_bridge' basic-bridge <5bb66cf4-52b8-4222-822b-8543670f6ff9>
1557868057.458769
1|cid_channels_recent_172023012178|SHOW TABLES LIKE "cid_channels_recent_172023012178";
SELECT dest_channel FROM cid_channels_recent_172023012178 where (caller_id_name = 'V5141707360000064962' or connected_line_name = 'V5141707360000064962' or caller_id_name = 'V5141707360000064962' or connected_line_name = 'V5141707360000064962') and ( linkedid = '1557868056.183' or dest_uniqueid = '1557868056.183' or uniqueid = '1557868056.183') and call_date > '2019-05-14 17:05:37'
NO DestChannel for callid V5141707360000064962|Local/916317918378@default-0000001f;1!!!
[May 14 17:07:37] -- <Local/916317918378@default-0000001f;1>AGI Script agi-VDAD_local_optimize.agi completed, returning 0
[May 14 17:07:37] -- Executing [138367@default:2] Wait("Local/916317918378@default-0000001f;1", "2") in new stack
[May 14 17:07:37] > 0x7fe6a8019940 -- Strict RTP switching to RTP target address 34.203.250.81:17256 as source
[May 14 17:07:38] == Manager 'sendcron' logged off from 127.0.0.1
[May 14 17:07:39] -- Executing [138367@default:3] Hangup("Local/916317918378@default-0000001f;1", "") in new stack
[May 14 17:07:39] == Spawn extension (default, 138367, 3) exited non-zero on 'Local/916317918378@default-0000001f;1'
[May 14 17:07:39] WARNING[4345][C-0000004c]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[May 14 17:07:39] -- Executing [h@default:1] AGI("Local/916317918378@default-0000001f;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------)") in new stack
[May 14 17:07:39] AGI Tx >> agi_network: yes
[May 14 17:07:39] AGI Tx >> agi_network_script: call_log--HVcauses--PRI-----NODEBUG-----16--------------------)
[May 14 17:07:39] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_request: agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------)
[May 14 17:07:39] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_channel: Local/916317918378@default-0000001f;1
[May 14 17:07:39] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_language: en
[May 14 17:07:39] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_type: Local
[May 14 17:07:39] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_uniqueid: 1557868056.183
[May 14 17:07:39] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_version: 13.21.0-vici
[May 14 17:07:39] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_callerid: unknown
[May 14 17:07:39] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_calleridname: V5141707360000064962
[May 14 17:07:39] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_callingpres: 0
[May 14 17:07:39] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_callingani2: 0
[May 14 17:07:39] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_callington: 0
[May 14 17:07:39] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_callingtns: 0
[May 14 17:07:39] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_dnid: unknown
[May 14 17:07:39] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_rdnis: unknown
[May 14 17:07:39] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_context: default
[May 14 17:07:39] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_extension: h
[May 14 17:07:39] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_priority: 1
[May 14 17:07:39] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_enhanced: 0.0
[May 14 17:07:39] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_accountcode:
[May 14 17:07:39] <Local/916317918378@default-0000001f;1>AGI Tx >> agi_threadid: 140627828463360
[May 14 17:07:39] <Local/916317918378@default-0000001f;1>AGI Tx >>
<--- SIP read from UDP:54.172.60.0:5060 --->
SIP/2.0 100 Giving a try
Via: SIP/2.0/UDP 18.215.120.176:5060;received=18.215.120.176;branch=z9hG4bK642d9d26;rport=5060
From: "V5141835330000064875" <sip:+1@18.215.120.176>;tag=as1893c92b
To: <sip:+16317918378@fps-shared-uat-1.pstn.us1.twilio.com>
Call-ID: 201ebcd654cbc53950981d992fac9b1b@18.215.120.176:5060
CSeq: 102 INVITE
Server: Twilio Gateway
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
<--- SIP read from UDP:54.172.60.0:5060 --->
SIP/2.0 200 OK
CSeq: 102 INVITE
Call-ID: 201ebcd654cbc53950981d992fac9b1b@18.215.120.176:5060
From: "V5141835330000064875" <sip:+1@18.215.120.176>;tag=as1893c92b
To: <sip:+16317918378@fps-shared-uat-1.pstn.us1.twilio.com>;tag=93531037_6772d868_a302cc04-e5bb-4150-94a1-68ebea362718
Via: SIP/2.0/UDP 18.215.120.176:5060;received=18.215.120.176;branch=z9hG4bK642d9d26;rport=5060
Record-Route: <sip:54.172.60.0:5060;lr;ftag=as1893c92b>
Server: Twilio
Contact: <sip:172.18.43.244:5060>
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,REFER,NOTIFY
Content-Type: application/sdp
X-Twilio-CallSid: CA549efcfa2f65f908c909f92f68f2afa5
Content-Length: 240
v=0
o=root 2004511276 2004511276 IN IP4 34.203.251.151
s=Twilio Media Gateway
c=IN IP4 34.203.251.151
t=0 0
m=audio 11862 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
<------------->
--- (13 headers 11 lines) ---
Found RTP audio format 0
Found RTP audio format 101
Found audio description format PCMU for ID 0
Found audio description format telephone-event for ID 101
Capabilities: us - (ulaw), peer - audio=(ulaw)/video=(nothing)/text=(nothing), combined - (ulaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
Peer audio RTP is at port 34.203.251.151:11862
sip_route_dump: route/path hop: <sip:54.172.60.0:5060;lr;ftag=as1893c92b>
Transmitting (NAT) to 54.172.60.0:5060:
ACK sip:172.18.43.244:5060 SIP/2.0
Via: SIP/2.0/UDP 18.215.120.176:5060;branch=z9hG4bK082b899a;rport
Route: <sip:54.172.60.0:5060;lr;ftag=as1893c92b>
Max-Forwards: 70
From: "V5141835330000064875" <sip:+1@18.215.120.176>;tag=as1893c92b
To: <sip:+16317918378@fps-shared-uat-1.pstn.us1.twilio.com>;tag=93531037_6772d868_a302cc04-e5bb-4150-94a1-68ebea362718
Contact: <sip:+1@18.215.120.176:5060>
Call-ID: 201ebcd654cbc53950981d992fac9b1b@18.215.120.176:5060
CSeq: 102 ACK
User-Agent: Asterisk PBX 13.21.0-vici
Content-Length: 0
---
[May 14 18:35:36] WARNING[18349][C-00000002]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
Scheduling destruction of SIP dialog '201ebcd654cbc53950981d992fac9b1b@18.215.120.176:5060' in 6400 ms (Method: INVITE)
Reliably Transmitting (NAT) to 54.172.60.0:5060:
BYE sip:172.18.43.244:5060 SIP/2.0
Via: SIP/2.0/UDP 18.215.120.176:5060;branch=z9hG4bK538a0e10;rport
Route: <sip:54.172.60.0:5060;lr;ftag=as1893c92b>
Max-Forwards: 70
From: "V5141835330000064875" <sip:+1@18.215.120.176>;tag=as1893c92b
To: <sip:+16317918378@fps-shared-uat-1.pstn.us1.twilio.com>;tag=93531037_6772d868_a302cc04-e5bb-4150-94a1-68ebea362718
Call-ID: 201ebcd654cbc53950981d992fac9b1b@18.215.120.176:5060
CSeq: 103 BYE
User-Agent: Asterisk PBX 13.21.0-vici
X-Asterisk-HangupCause: Normal Clearing
X-Asterisk-HangupCauseCode: 16
Content-Length: 0
---
<--- SIP read from UDP:54.172.60.0:5060 --->
SIP/2.0 200 OK
CSeq: 103 BYE
Call-ID: 201ebcd654cbc53950981d992fac9b1b@18.215.120.176:5060
From: "V5141835330000064875" <sip:+1@18.215.120.176>;tag=as1893c92b
To: <sip:+16317918378@fps-shared-uat-1.pstn.us1.twilio.com>;tag=93531037_6772d868_a302cc04-e5bb-4150-94a1-68ebea362718
Via: SIP/2.0/UDP 18.215.120.176:5060;received=18.215.120.176;branch=z9hG4bK538a0e10;rport=5060
Server: Twilio
X-Twilio-CallSid: CA549efcfa2f65f908c909f92f68f2afa5
Content-Length: 0
<------------->
Is the call in question from off the private network or inside the private network?private network
Users browsing this forum: Google [Bot] and 46 guests