incoming call reaching asterisk but no calls for Agent
Posted: Mon Jan 21, 2019 11:30 pm
I am using VICIbox server is ViciBox 8.1.2 Installed on HYPER-V
OpenSuSE Leap v.42.3 64-bit
Kernel v.4.4.155
Asterisk v.13.21.1-vici
DAHDI v.2.11.1
LibPRI v.1.6.0
Amfletec VoiceSync v.1.3.8
OpenR2 v.1.3.3 for MFC/R2 support
ViciDial SVN v.2.14-689a build 180922-0958 revision 3035
The Problem :
Outbound call is working fine but Incoming calls are not recieved by logged in agents although they are reaching asterisk i have purchased the manual and create inbound trunk , Ingroup,compaign and point did to ingroup .
Cli Results:
localhost*CLI>
[Jan 22 09:12:47] == Using SIP RTP CoS mark 5
[Jan 22 09:12:47] > 0x7fd78c027100 -- Strict RTP learning after remote address set to: 204.11.192.169:59846
[Jan 22 09:12:47] -- Executing [17778126342100@trunkinbound:1] Ringing("SIP/122.129.77.114-00000005", "") in new stack
[Jan 22 09:12:47] -- Executing [17778126342100@trunkinbound:2] Wait("SIP/122.129.77.114-00000005", "1") in new stack
[Jan 22 09:12:48] -- Executing [17778126342100@trunkinbound:3] Answer("SIP/122.129.77.114-00000005", "") in new stack
[Jan 22 09:12:49] -- Executing [17778126342100@trunkinbound:4] AGI("SIP/122.129.77.114-00000005", "agi-DID_route.agi") in new stack
[Jan 22 09:12:49] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-DID_route.agi
[Jan 22 09:12:49] -- <SIP/122.129.77.114-00000005>AGI Script agi-DID_route.agi completed, returning 0
[Jan 22 09:12:49] -- Executing [17778126342100@trunkinbound:5] Hangup("SIP/122.129.77.114-00000005", "") in new stack
[Jan 22 09:12:49] == Spawn extension (trunkinbound, 17778126342100, 5) exited non-zero on 'SIP/122.129.77.114-00000005'
Trunkinbound
exten => _1x.,1,Ringing
exten => _1x.,2,Wait(1)
exten => _1x.,3,Answer
exten => _1x.,4,AGI(agi-DID_route.agi)
exten => _1x.,5,Hangup
My Inbound Trunk Configuration :
[Callcentric]
type=peer
disallow=all
allow=alaw
allow=ulaw
type=friend
username=17778126342100
secret=xxx
host=callcentric.com
dtmfmode=rfc2833
context=trunkinbound
insecure=very
nat=force_rport,comedia
fromdomain=callcentric.com
defaultuser=17778126342100
fromuser=17778126342100
disallowed_methods=UPDATE
directmedia=no
videosupport=no
canreinvite=no
[callcentric1](callcentric)
host=alpha1.callcentric.com
[callcentric2](callcentric)
host=alpha2.callcentric.com
[callcentric3](callcentric)
host=alpha3.callcentric.com
[callcentric4](callcentric)
host=alpha4.callcentric.com
[callcentric5](callcentric)
host=alpha5.callcentric.com
[callcentric6](callcentric)
host=alpha6.callcentric.com
[callcentric7](callcentric)
host=alpha7.callcentric.com
[callcentric8](callcentric)
host=alpha8.callcentric.com
[callcentric9](callcentric)
host=alpha9.callcentric.com
[callcentric10](callcentric)
host=alpha10.callcentric.com
[callcentric11](callcentric)
host=alpha11.callcentric.com
[callcentric12](callcentric)
host=alpha12.callcentric.com
[callcentric13](callcentric)
host=alpha13.callcentric.com
[callcentric14](callcentric)
host=alpha14.callcentric.com
[callcentric15](callcentric)
host=alpha15.callcentric.com
[callcentric16](callcentric)
host=alpha16.callcentric.com
[callcentric17](callcentric)
host=alpha17.callcentric.com
[callcentric18](callcentric)
host=alpha18.callcentric.com
[callcentric19](callcentric)
host=alpha19.callcentric.com
[callcentric20](callcentric)
host=alpha20.callcentric.com
[callcentricA](callcentric)
host=doll3.callcentric.com
[callcentricB](callcentric)
host=doll4.callcentric.com
[callcentricC](callcentric)
host=doll5.callcentric.com
Debug SIP:
<------------>
[Jan 22 09:28:08] -- Executing [17778126342100@trunkinbound:1] Ringing("SIP/66.193.176.35-00000008", "") in new stack
[Jan 22 09:28:08]
[Jan 22 09:28:08] <--- Transmitting (NAT) to 204.11.192.171:5080 --->
[Jan 22 09:28:08] SIP/2.0 180 Ringing
[Jan 22 09:28:08] Via: SIP/2.0/UDP 204.11.192.171:5080;branch=z9hG4bK-600cdb1c3b0aebb4a6808d63647bdb89;received=204.11.192.171;rport=5080
[Jan 22 09:28:08] From: <sip:9547937099102@66.193.176.35>;tag=3757119845-825643
[Jan 22 09:28:08] To: <sip:18772150306@ss.callcentric.com>;tag=as483fd856
[Jan 22 09:28:08] Call-ID: 3011749-3757119845-825596@msw2.telengy.net
[Jan 22 09:28:08] CSeq: 1 INVITE
[Jan 22 09:28:08] Server: Asterisk PBX 13.21.1-vici
[Jan 22 09:28:08] Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
[Jan 22 09:28:08] Supported: replaces, timer
[Jan 22 09:28:08] Contact: <sip:17778126342100@122.129.77.114:5060>
[Jan 22 09:28:08] Content-Length: 0
[Jan 22 09:28:08]
[Jan 22 09:28:08]
[Jan 22 09:28:08] <------------>
[Jan 22 09:28:08] -- Executing [17778126342100@trunkinbound:2] Wait("SIP/66.193.176.35-00000008", "1") in new stack
[Jan 22 09:28:08] Retransmitting #3 (NAT) to 209.126.73.134:5060:
[Jan 22 09:28:08] OPTIONS sip:209.126.73.134 SIP/2.0
[Jan 22 09:28:08] Via: SIP/2.0/UDP 122.129.77.114:5060;branch=z9hG4bK5a81a2d4;rport
[Jan 22 09:28:08] Max-Forwards: 70
[Jan 22 09:28:08] From: "asterisk" <sip:asterisk@122.129.77.114>;tag=as5102ec8d
[Jan 22 09:28:08] To: <sip:209.126.73.134>
[Jan 22 09:28:08] Contact: <sip:asterisk@122.129.77.114:5060>
[Jan 22 09:28:08] Call-ID: 452c90a543c9140b4ade67a47eec068d@122.129.77.114:5060
[Jan 22 09:28:08] CSeq: 102 OPTIONS
[Jan 22 09:28:08] User-Agent: Asterisk PBX 13.21.1-vici
[Jan 22 09:28:08] Date: Tue, 22 Jan 2019 04:28:05 GMT
[Jan 22 09:28:08] Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
[Jan 22 09:28:08] Supported: replaces, timer
[Jan 22 09:28:08] Content-Length: 0
[Jan 22 09:28:08]
[Jan 22 09:28:09] ---
[Jan 22 09:28:09] -- Executing [17778126342100@trunkinbound:3] Answer("SIP/66.193.176.35-00000008", "") in new stack
[Jan 22 09:28:09] Audio is at 17912
[Jan 22 09:28:09] Adding codec ulaw to SDP
[Jan 22 09:28:09] Adding non-codec 0x1 (telephone-event) to SDP
[Jan 22 09:28:09]
[Jan 22 09:28:09] <--- Reliably Transmitting (NAT) to 204.11.192.171:5080 --->
[Jan 22 09:28:09] SIP/2.0 200 OK
[Jan 22 09:28:09] Via: SIP/2.0/UDP 204.11.192.171:5080;branch=z9hG4bK-600cdb1c3b0aebb4a6808d63647bdb89;received=204.11.192.171;rport=5080
[Jan 22 09:28:09] From: <sip:9547937099102@66.193.176.35>;tag=3757119845-825643
[Jan 22 09:28:09] To: <sip:18772150306@ss.callcentric.com>;tag=as483fd856
[Jan 22 09:28:09] Call-ID: 3011749-3757119845-825596@msw2.telengy.net
[Jan 22 09:28:09] CSeq: 1 INVITE
[Jan 22 09:28:09] Server: Asterisk PBX 13.21.1-vici
[Jan 22 09:28:09] Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
[Jan 22 09:28:09] Supported: replaces, timer
[Jan 22 09:28:09] Contact: <sip:17778126342100@122.129.77.114:5060>
[Jan 22 09:28:09] Content-Type: application/sdp
[Jan 22 09:28:09] Content-Length: 259
[Jan 22 09:28:10] ---
[Jan 22 09:28:10] -- Executing [17778126342100@trunkinbound:4] AGI("SIP/66.193.176.35-00000008", "agi-DID_route.agi") in new stack
[Jan 22 09:28:10] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-DID_route.agi
[Jan 22 09:28:10] -- <SIP/66.193.176.35-00000008>AGI Script agi-DID_route.agi completed, returning 0
[Jan 22 09:28:10] -- Executing [17778126342100@trunkinbound:5] Hangup("SIP/66.193.176.35-00000008", "") in new stack
[Jan 22 09:28:10] == Spawn extension (trunkinbound, 17778126342100, 5) exited non-zero on 'SIP/66.193.176.35-00000008'
[Jan 22 09:28:10] Scheduling destruction of SIP dialog '3011749-3757119845-825596@msw2.telengy.net' in 32000 ms (Method: ACK)
[Jan 22 09:28:10] Reliably Transmitting (NAT) to 204.11.192.171:5080:
[Jan 22 09:28:10] BYE sip:6c16464ab5d765a0955bc1fa9253cefe@204.11.192.171:5080;transport=udp SIP/2.0
[Jan 22 09:28:10] Via: SIP/2.0/UDP 122.129.77.114:5060;branch=z9hG4bK407cb799;rport
[Jan 22 09:28:10] Max-Forwards: 70
[Jan 22 09:28:10] From: <sip:18772150306@ss.callcentric.com>;tag=as483fd856
[Jan 22 09:28:10] To: <sip:9547937099102@66.193.176.35>;tag=3757119845-825643
[Jan 22 09:28:10] Call-ID: 3011749-3757119845-825596@msw2.telengy.net
[Jan 22 09:28:10] CSeq: 102 BYE
[Jan 22 09:28:10] User-Agent: Asterisk PBX 13.21.1-vici
[Jan 22 09:28:10] X-Asterisk-HangupCause: Normal Clearing
[Jan 22 09:28:10] X-Asterisk-HangupCauseCode: 16
[Jan 22 09:28:10] Content-Length: 0
Kindly Help
OpenSuSE Leap v.42.3 64-bit
Kernel v.4.4.155
Asterisk v.13.21.1-vici
DAHDI v.2.11.1
LibPRI v.1.6.0
Amfletec VoiceSync v.1.3.8
OpenR2 v.1.3.3 for MFC/R2 support
ViciDial SVN v.2.14-689a build 180922-0958 revision 3035
The Problem :
Outbound call is working fine but Incoming calls are not recieved by logged in agents although they are reaching asterisk i have purchased the manual and create inbound trunk , Ingroup,compaign and point did to ingroup .
Cli Results:
localhost*CLI>
[Jan 22 09:12:47] == Using SIP RTP CoS mark 5
[Jan 22 09:12:47] > 0x7fd78c027100 -- Strict RTP learning after remote address set to: 204.11.192.169:59846
[Jan 22 09:12:47] -- Executing [17778126342100@trunkinbound:1] Ringing("SIP/122.129.77.114-00000005", "") in new stack
[Jan 22 09:12:47] -- Executing [17778126342100@trunkinbound:2] Wait("SIP/122.129.77.114-00000005", "1") in new stack
[Jan 22 09:12:48] -- Executing [17778126342100@trunkinbound:3] Answer("SIP/122.129.77.114-00000005", "") in new stack
[Jan 22 09:12:49] -- Executing [17778126342100@trunkinbound:4] AGI("SIP/122.129.77.114-00000005", "agi-DID_route.agi") in new stack
[Jan 22 09:12:49] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-DID_route.agi
[Jan 22 09:12:49] -- <SIP/122.129.77.114-00000005>AGI Script agi-DID_route.agi completed, returning 0
[Jan 22 09:12:49] -- Executing [17778126342100@trunkinbound:5] Hangup("SIP/122.129.77.114-00000005", "") in new stack
[Jan 22 09:12:49] == Spawn extension (trunkinbound, 17778126342100, 5) exited non-zero on 'SIP/122.129.77.114-00000005'
Trunkinbound
exten => _1x.,1,Ringing
exten => _1x.,2,Wait(1)
exten => _1x.,3,Answer
exten => _1x.,4,AGI(agi-DID_route.agi)
exten => _1x.,5,Hangup
My Inbound Trunk Configuration :
[Callcentric]
type=peer
disallow=all
allow=alaw
allow=ulaw
type=friend
username=17778126342100
secret=xxx
host=callcentric.com
dtmfmode=rfc2833
context=trunkinbound
insecure=very
nat=force_rport,comedia
fromdomain=callcentric.com
defaultuser=17778126342100
fromuser=17778126342100
disallowed_methods=UPDATE
directmedia=no
videosupport=no
canreinvite=no
[callcentric1](callcentric)
host=alpha1.callcentric.com
[callcentric2](callcentric)
host=alpha2.callcentric.com
[callcentric3](callcentric)
host=alpha3.callcentric.com
[callcentric4](callcentric)
host=alpha4.callcentric.com
[callcentric5](callcentric)
host=alpha5.callcentric.com
[callcentric6](callcentric)
host=alpha6.callcentric.com
[callcentric7](callcentric)
host=alpha7.callcentric.com
[callcentric8](callcentric)
host=alpha8.callcentric.com
[callcentric9](callcentric)
host=alpha9.callcentric.com
[callcentric10](callcentric)
host=alpha10.callcentric.com
[callcentric11](callcentric)
host=alpha11.callcentric.com
[callcentric12](callcentric)
host=alpha12.callcentric.com
[callcentric13](callcentric)
host=alpha13.callcentric.com
[callcentric14](callcentric)
host=alpha14.callcentric.com
[callcentric15](callcentric)
host=alpha15.callcentric.com
[callcentric16](callcentric)
host=alpha16.callcentric.com
[callcentric17](callcentric)
host=alpha17.callcentric.com
[callcentric18](callcentric)
host=alpha18.callcentric.com
[callcentric19](callcentric)
host=alpha19.callcentric.com
[callcentric20](callcentric)
host=alpha20.callcentric.com
[callcentricA](callcentric)
host=doll3.callcentric.com
[callcentricB](callcentric)
host=doll4.callcentric.com
[callcentricC](callcentric)
host=doll5.callcentric.com
Debug SIP:
<------------>
[Jan 22 09:28:08] -- Executing [17778126342100@trunkinbound:1] Ringing("SIP/66.193.176.35-00000008", "") in new stack
[Jan 22 09:28:08]
[Jan 22 09:28:08] <--- Transmitting (NAT) to 204.11.192.171:5080 --->
[Jan 22 09:28:08] SIP/2.0 180 Ringing
[Jan 22 09:28:08] Via: SIP/2.0/UDP 204.11.192.171:5080;branch=z9hG4bK-600cdb1c3b0aebb4a6808d63647bdb89;received=204.11.192.171;rport=5080
[Jan 22 09:28:08] From: <sip:9547937099102@66.193.176.35>;tag=3757119845-825643
[Jan 22 09:28:08] To: <sip:18772150306@ss.callcentric.com>;tag=as483fd856
[Jan 22 09:28:08] Call-ID: 3011749-3757119845-825596@msw2.telengy.net
[Jan 22 09:28:08] CSeq: 1 INVITE
[Jan 22 09:28:08] Server: Asterisk PBX 13.21.1-vici
[Jan 22 09:28:08] Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
[Jan 22 09:28:08] Supported: replaces, timer
[Jan 22 09:28:08] Contact: <sip:17778126342100@122.129.77.114:5060>
[Jan 22 09:28:08] Content-Length: 0
[Jan 22 09:28:08]
[Jan 22 09:28:08]
[Jan 22 09:28:08] <------------>
[Jan 22 09:28:08] -- Executing [17778126342100@trunkinbound:2] Wait("SIP/66.193.176.35-00000008", "1") in new stack
[Jan 22 09:28:08] Retransmitting #3 (NAT) to 209.126.73.134:5060:
[Jan 22 09:28:08] OPTIONS sip:209.126.73.134 SIP/2.0
[Jan 22 09:28:08] Via: SIP/2.0/UDP 122.129.77.114:5060;branch=z9hG4bK5a81a2d4;rport
[Jan 22 09:28:08] Max-Forwards: 70
[Jan 22 09:28:08] From: "asterisk" <sip:asterisk@122.129.77.114>;tag=as5102ec8d
[Jan 22 09:28:08] To: <sip:209.126.73.134>
[Jan 22 09:28:08] Contact: <sip:asterisk@122.129.77.114:5060>
[Jan 22 09:28:08] Call-ID: 452c90a543c9140b4ade67a47eec068d@122.129.77.114:5060
[Jan 22 09:28:08] CSeq: 102 OPTIONS
[Jan 22 09:28:08] User-Agent: Asterisk PBX 13.21.1-vici
[Jan 22 09:28:08] Date: Tue, 22 Jan 2019 04:28:05 GMT
[Jan 22 09:28:08] Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
[Jan 22 09:28:08] Supported: replaces, timer
[Jan 22 09:28:08] Content-Length: 0
[Jan 22 09:28:08]
[Jan 22 09:28:09] ---
[Jan 22 09:28:09] -- Executing [17778126342100@trunkinbound:3] Answer("SIP/66.193.176.35-00000008", "") in new stack
[Jan 22 09:28:09] Audio is at 17912
[Jan 22 09:28:09] Adding codec ulaw to SDP
[Jan 22 09:28:09] Adding non-codec 0x1 (telephone-event) to SDP
[Jan 22 09:28:09]
[Jan 22 09:28:09] <--- Reliably Transmitting (NAT) to 204.11.192.171:5080 --->
[Jan 22 09:28:09] SIP/2.0 200 OK
[Jan 22 09:28:09] Via: SIP/2.0/UDP 204.11.192.171:5080;branch=z9hG4bK-600cdb1c3b0aebb4a6808d63647bdb89;received=204.11.192.171;rport=5080
[Jan 22 09:28:09] From: <sip:9547937099102@66.193.176.35>;tag=3757119845-825643
[Jan 22 09:28:09] To: <sip:18772150306@ss.callcentric.com>;tag=as483fd856
[Jan 22 09:28:09] Call-ID: 3011749-3757119845-825596@msw2.telengy.net
[Jan 22 09:28:09] CSeq: 1 INVITE
[Jan 22 09:28:09] Server: Asterisk PBX 13.21.1-vici
[Jan 22 09:28:09] Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
[Jan 22 09:28:09] Supported: replaces, timer
[Jan 22 09:28:09] Contact: <sip:17778126342100@122.129.77.114:5060>
[Jan 22 09:28:09] Content-Type: application/sdp
[Jan 22 09:28:09] Content-Length: 259
[Jan 22 09:28:10] ---
[Jan 22 09:28:10] -- Executing [17778126342100@trunkinbound:4] AGI("SIP/66.193.176.35-00000008", "agi-DID_route.agi") in new stack
[Jan 22 09:28:10] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-DID_route.agi
[Jan 22 09:28:10] -- <SIP/66.193.176.35-00000008>AGI Script agi-DID_route.agi completed, returning 0
[Jan 22 09:28:10] -- Executing [17778126342100@trunkinbound:5] Hangup("SIP/66.193.176.35-00000008", "") in new stack
[Jan 22 09:28:10] == Spawn extension (trunkinbound, 17778126342100, 5) exited non-zero on 'SIP/66.193.176.35-00000008'
[Jan 22 09:28:10] Scheduling destruction of SIP dialog '3011749-3757119845-825596@msw2.telengy.net' in 32000 ms (Method: ACK)
[Jan 22 09:28:10] Reliably Transmitting (NAT) to 204.11.192.171:5080:
[Jan 22 09:28:10] BYE sip:6c16464ab5d765a0955bc1fa9253cefe@204.11.192.171:5080;transport=udp SIP/2.0
[Jan 22 09:28:10] Via: SIP/2.0/UDP 122.129.77.114:5060;branch=z9hG4bK407cb799;rport
[Jan 22 09:28:10] Max-Forwards: 70
[Jan 22 09:28:10] From: <sip:18772150306@ss.callcentric.com>;tag=as483fd856
[Jan 22 09:28:10] To: <sip:9547937099102@66.193.176.35>;tag=3757119845-825643
[Jan 22 09:28:10] Call-ID: 3011749-3757119845-825596@msw2.telengy.net
[Jan 22 09:28:10] CSeq: 102 BYE
[Jan 22 09:28:10] User-Agent: Asterisk PBX 13.21.1-vici
[Jan 22 09:28:10] X-Asterisk-HangupCause: Normal Clearing
[Jan 22 09:28:10] X-Asterisk-HangupCauseCode: 16
[Jan 22 09:28:10] Content-Length: 0
Kindly Help