Hello ,,,
My inbound is basicly working.
Just the CID Lookup is not working at all , , ill tryed serverel differnt methods ,,
also to clean the cid nummer with the first 4 digits L1 L2 L3 L4 or R10 cause my numbers are separatet from the country code which come 00xx number in in
the debug is
[Oct 31 11:49:55] Using INVITE request as basis request - 4b9c6b50228d-635fa852-19d564d1-35bae200-1e90de-04-UASession-66o1WvM9-R-UASession-EW9FbD!grK
[Oct 31 11:49:55] Found peer 'SIPtrunk100' for '00436811XXXX' from 193.xx.xx.xx:5060
[Oct 31 11:49:55] == Using SIP RTP CoS mark 5
[Oct 31 11:49:55] Found RTP audio format 8
[Oct 31 11:49:55] Found RTP audio format 101
[Oct 31 11:49:55] Found audio description format PCMA for ID 8
[Oct 31 11:49:55] Found audio description format telephone-event for ID 101
[Oct 31 11:49:55] Capabilities: us - (alaw), peer - audio=(alaw)/video=(nothing)/text=(nothing), combined - (alaw)
[Oct 31 11:49:55] Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
[Oct 31 11:49:55] > 0x7f9f040fc840 -- Strict RTP learning after remote address set to: 193.84.65.161:24060
[Oct 31 11:49:55] Peer audio RTP is at port 193.84.65.161:24060
[Oct 31 11:49:55] Looking for 0043720XXXXXX0 in trunkinbound (domain 116.xxx.xxx.xx)
[Oct 31 11:49:55] sip_route_dump: route/path hop: <sip:193.xx.xx.xx;lr;ftag=0A889EBA26BC010000471104038Au5958007524222A98;x-rtpp=1>
[Oct 31 11:49:55]
[Oct 31 11:49:55] <--- Transmitting (NAT) to 193.xx.xx.xx:5060 --->
[Oct 31 11:49:55] SIP/2.0 100 Trying
[Oct 31 11:49:55] Via: SIP/2.0/UDP 193.xx.xx.xx;branch=z9hG4bK7c41.1ee6e8d539612e70abaa948d9b2bb99c.0;received=193.xx.xx.xx;rport=5060
[Oct 31 11:49:55] Via: SIP/2.0/UDP 192.168.46.235:5083;branch=z9hG4bKZZRSDgejsV
[Oct 31 11:49:55] Record-Route: <sip:193.xx.xx.xx;lr;ftag=0A889EBA26BC010000471104038Au5958007524222A98;x-rtpp=1>
[Oct 31 11:49:55] From: "00436811XXXX" <sip:00436811XXXX@bt.sixxxx.xx;x-dno=A902>;tag=0A889EBA26BC010000471104038Au5958007524222A98
[Oct 31 11:49:55] To: <sip:+43720XXXXXX0@192.168.46.235;x-sin=102>
[Oct 31 11:49:55] Call-ID: 4b9c6b50228d-635fa852-19d564d1-35bae200-1e90de-04-UASession-66o1WvM9-R-UASession-EW9FbD!grK
[Oct 31 11:49:55] CSeq: 1 INVITE
[Oct 31 11:49:55] Server: Asterisk PBX 13.29.2-vici
[Oct 31 11:49:55] Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
[Oct 31 11:49:55] Supported: replaces, timer
[Oct 31 11:49:55] Session-Expires: 1800;refresher=uas
[Oct 31 11:49:55] Contact: <sip:0043720XXXXXX0@116.xxx.xxx.xx:5060>
[Oct 31 11:49:55] Content-Length: 0
[Oct 31 11:49:55]
[Oct 31 11:49:55]
[Oct 31 11:49:55] <------------>
[Oct 31 11:49:55] -- Executing [0043720XXXXXX0@trunkinbound:1] AGI("SIP/SIPtrunk100-000033df", "agi-DID_route.agi") in new stack
[Oct 31 11:49:55] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-DID_route.agi
[Oct 31 11:49:55] -- <SIP/SIPtrunk100-000033df>AGI Script agi-DID_route.agi completed, returning 0
[Oct 31 11:49:55] -- Executing [99909*1***DID@default:1] Answer("SIP/SIPtrunk100-000033df", "") in new stack
[Oct 31 11:49:55] Audio is at 13310
[Oct 31 11:49:55] Adding codec alaw to SDP
[Oct 31 11:49:55] Adding non-codec 0x1 (telephone-event) to SDP
[Oct 31 11:49:55]
[Oct 31 11:49:55] <--- Reliably Transmitting (NAT) to 193.xx.xx.xx:5060 --->
[Oct 31 11:49:55] SIP/2.0 200 OK
[Oct 31 11:49:55] Via: SIP/2.0/UDP 193.xx.xx.xx;branch=z9hG4bK7c41.1ee6e8d539612e70abaa948d9b2bb99c.0;received=193.xx.xx.xx;rport=5060
[Oct 31 11:49:55] Via: SIP/2.0/UDP 192.168.46.235:5083;branch=z9hG4bKZZRSDgejsV
[Oct 31 11:49:55] Record-Route: <sip:193.xx.xx.xx;lr;ftag=0A889EBA26BC010000471104038Au5958007524222A98;x-rtpp=1>
[Oct 31 11:49:55] From: "00436811XXXX" <sip:00436811XXXX@bt.sixxxx.xx;x-dno=A902>;tag=0A889EBA26BC010000471104038Au5958007524222A98
[Oct 31 11:49:55] To: <sip:+43720XXXXXX0@192.168.46.235;x-sin=102>;tag=as78c00f49
[Oct 31 11:49:55] Call-ID: 4b9c6b50228d-635fa852-19d564d1-35bae200-1e90de-04-UASession-66o1WvM9-R-UASession-EW9FbD!grK
[Oct 31 11:49:55] CSeq: 1 INVITE
[Oct 31 11:49:55] Server: Asterisk PBX 13.29.2-vici
[Oct 31 11:49:55] Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
[Oct 31 11:49:55] Supported: replaces, timer
[Oct 31 11:49:55] Session-Expires: 1800;refresher=uas
[Oct 31 11:49:55] Contact: <sip:0043720XXXXXX0@116.xxx.xxx.xx:5060>
[Oct 31 11:49:55] Content-Type: application/sdp
[Oct 31 11:49:55] Require: timer
[Oct 31 11:49:55] Content-Length: 261
[Oct 31 11:49:55]
[Oct 31 11:49:55] v=0
[Oct 31 11:49:55] o=root 1352178161 1352178161 IN IP4 116.xxx.xxx.xx
[Oct 31 11:49:55] s=Asterisk PBX 13.29.2-vici
[Oct 31 11:49:55] c=IN IP4 116.xxx.xxx.xx
[Oct 31 11:49:55] t=0 0
[Oct 31 11:49:55] m=audio 13310 RTP/AVP 8 101
[Oct 31 11:49:55] a=rtpmap:8 PCMA/8000
[Oct 31 11:49:55] a=rtpmap:101 telephone-event/8000
[Oct 31 11:49:55] a=fmtp:101 0-16
[Oct 31 11:49:55] a=ptime:20
[Oct 31 11:49:55] a=maxptime:150
[Oct 31 11:49:55] a=sendrecv
[Oct 31 11:49:55]
[Oct 31 11:49:55] <------------>
[Oct 31 11:49:55]
[Oct 31 11:49:55] <--- SIP read from UDP:193.xx.xx.xx:5060 --->
[Oct 31 11:49:55] ACK sip:0043720XXXXXX0@116.xxx.xxx.xx:5060 SIP/2.0
[Oct 31 11:49:55] Via: SIP/2.0/UDP 193.xx.xx.xx;branch=z9hG4bK7c41.8febb0293b904233c4b56b80b4a2c5d7.0
[Oct 31 11:49:55] Via: SIP/2.0/UDP 192.168.46.235:5083;branch=z9hG4bKRvYvvmTE5e
[Oct 31 11:49:55] From: <sip:00436811XXXX@bt.sixxxx.xx;x-dno=A902>;tag=0A889EBA26BC010000471104038Au5958007524222A98
[Oct 31 11:49:55] To: <sip:+43720XXXXXX0@192.168.46.235;x-sin=102>;tag=as78c00f49
[Oct 31 11:49:55] Call-ID: 4b9c6b50228d-635fa852-19d564d1-35bae200-1e90de-04-UASession-66o1WvM9-R-UASession-EW9FbD!grK
[Oct 31 11:49:55] CSeq: 1 ACK
[Oct 31 11:49:55] Max-Forwards: 60
[Oct 31 11:49:55] Contact: <sip:192.168.46.235:5083>
[Oct 31 11:49:55] Content-Length: 0
[Oct 31 11:49:55]
[Oct 31 11:49:55] <------------->
[Oct 31 11:49:55] --- (10 headers 0 lines) ---
[Oct 31 11:49:55] > 0x7f9f040fc840 -- Strict RTP switching to RTP target address 193.84.65.161:24060 as source
[Oct 31 11:49:55] -- Executing [99909*1***DID@default:2] AGI("SIP/SIPtrunk100-000033df", "agi-VDAD_ALL_inbound.agi") in new stack
[Oct 31 11:49:55] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_ALL_inbound.agi
[Oct 31 11:49:55] -- <SIP/SIPtrunk100-000033df> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Oct 31 11:49:55] -- <SIP/SIPtrunk100-000033df> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Oct 31 11:49:57] -- Started music on hold, class 'default', on channel 'SIP/SIPtrunk100-000033df'
[Oct 31 11:49:58] Really destroying SIP dialog 'qEKjquwCFeR4wkfxMYOYIg..' Method: REGISTER
[Oct 31 11:50:00] > 0x7f9f040fc840 -- Strict RTP learning complete - Locking on source address 193.84.65.161:24060
[Oct 31 11:50:00] == Manager 'sendcron' logged on from 127.0.0.1
[Oct 31 11:50:00] -- Called 58600052@default
[Oct 31 11:50:00] -- Executing [58600052@default:1] MeetMe("Local/58600052@default-0000563e;2", "8600052,Fmq") in new stack
[Oct 31 11:50:00] -- Local/58600052@default-0000563e;1 answered
[Oct 31 11:50:00] -- Executing [8309@default:1] Answer("Local/58600052@default-0000563e;1", "") in new stack
[Oct 31 11:50:00] -- Executing [8309@default:2] Monitor("Local/58600052@default-0000563e;1", "wav,20221031-115000_00436811XXXX") in new stack
[Oct 31 11:50:00] -- Executing [8309@default:3] Wait("Local/58600052@default-0000563e;1", "3600") in new stack
[Oct 31 11:50:00] == Manager 'sendcron' logged on from 127.0.0.1
[Oct 31 11:50:00] -- Called 116*xxx*xxx*xxx*78600052@default
[Oct 31 11:50:00] -- Executing [116*xxx*xxx*xxx*78600052@default:1] Goto("Local/116*xxx*xxx*xxx*78600052@default-0000563f;2", "default,78600052,1") in new stack
[Oct 31 11:50:00] -- Goto (default,78600052,1)
[Oct 31 11:50:00] -- Executing [78600052@default:1] MeetMe("Local/116*xxx*xxx*xxx*78600052@default-0000563f;2", "8600052,Fq") in new stack
[Oct 31 11:50:00] -- Local/116*xxx*xxx*xxx*78600052@default-0000563f;1 answered
[Oct 31 11:50:00] -- Executing [83047777777777@vicidial-auto:1] Answer("Local/116*xxx*xxx*xxx*78600052@default-0000563f;1", "") in new stack
[Oct 31 11:50:00] -- Executing [83047777777777@vicidial-auto:2] Playback("Local/116*xxx*xxx*xxx*78600052@default-0000563f;1", "ding") in new stack
[Oct 31 11:50:00] -- <Local/116*xxx*xxx*xxx*78600052@default-0000563f;1> Playing 'ding.gsm' (language 'en')
[Oct 31 11:50:00] -- Executing [83047777777777@vicidial-auto:3] Hangup("Local/116*xxx*xxx*xxx*78600052@default-0000563f;1", "") in new stack
[Oct 31 11:50:00] == Spawn extension (vicidial-auto, 83047777777777, 3) exited non-zero on 'Local/116*xxx*xxx*xxx*78600052@default-0000563f;1'
[Oct 31 11:50:00] WARNING[17492][C-0003034e]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Oct 31 11:50:00] -- Executing [h@vicidial-auto:1] AGI("Local/116*xxx*xxx*xxx*78600052@default-0000563f;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------)") in new stack
[Oct 31 11:50:00] -- <Local/116*xxx*xxx*xxx*78600052@default-0000563f;1>AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
[Oct 31 11:50:00] == Spawn extension (default, 78600052, 1) exited non-zero on 'Local/116*xxx*xxx*xxx*78600052@default-0000563f;2'
[Oct 31 11:50:00] WARNING[17493][C-0003034d]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Oct 31 11:50:00] -- Executing [h@default:1] AGI("Local/116*xxx*xxx*xxx*78600052@default-0000563f;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------)") in new stack
[Oct 31 11:50:00] -- <Local/116*xxx*xxx*xxx*78600052@default-0000563f;2>AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
[Oct 31 11:50:00] Really destroying SIP dialog
'247c1294-88919fa3-ec9a208@193.xx.xx.xx' Method: OPTIONS
[Oct 31 11:50:01] -- Stopped music on hold on SIP/SIPtrunk100-000033df
[Oct 31 11:50:01] -- <SIP/SIPtrunk100-000033df> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Oct 31 11:50:01] -- <SIP/SIPtrunk100-000033df> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Oct 31 11:50:01] == Manager 'sendcron' logged off from 127.0.0.1
[Oct 31 11:50:01] == Manager 'sendcron' logged off from 127.0.0.1
[Oct 31 11:50:01] == Manager 'sendcron' logged on from 127.0.0.1
[Oct 31 11:50:01] == Manager 'sendcron' logged off from 127.0.0.1
[Oct 31 11:50:01] == Manager 'sendcron' logged on from 127.0.0.1
[Oct 31 11:50:01] -- <SIP/SIPtrunk100-000033df> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Oct 31 11:50:01] -- <SIP/SIPtrunk100-000033df> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Oct 31 11:50:01] -- <SIP/SIPtrunk100-000033df> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Oct 31 11:50:01] -- <SIP/SIPtrunk100-000033df> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Oct 31 11:50:02] -- <SIP/SIPtrunk100-000033df>AGI Script agi-VDAD_ALL_inbound.agi completed, returning 0
[Oct 31 11:50:02] -- Executing [116*xxx*xxx*xxx*8600052@default:1] Goto("SIP/SIPtrunk100-000033df", "default,8600052,1") in new stack
[Oct 31 11:50:02] -- Goto (default,8600052,1)
[Oct 31 11:50:02] -- Executing [8600052@default:1] MeetMe("SIP/SIPtrunk100-000033df", "8600052,F") in new stack
any idea whats wrong ?
regards Speedmaker
VERSION: 2.14-718a
BUILD: 190902-0839
© 2019 ViciDial Group