incoming call reaching asterisk but no calls for Agent

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

incoming call reaching asterisk but no calls for Agent

Postby ali.rehan » Wed Jan 23, 2019 8:38 am

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 .

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

sip Debug:

n 22 23:54:08] --- (9 headers 0 lines) ---
[Jan 22 23:54:09] -- Executing [9998811112@default:3] Playback("SIP/66.193.176.35-00000002", "ss-noservice") in new stack
[Jan 22 23:54:09] -- <SIP/66.193.176.35-00000002> Playing 'ss-noservice.gsm' (language 'en')
[Jan 22 23:54:09] > 0x7f5ae0018ee0 -- Strict RTP switching to RTP target address 204.11.192.170:59654 as source
[Jan 22 23:54:10] > 0x7f5ae0018ee0 -- Strict RTP learning complete - Locking on source address 204.11.192.170:59654
[Jan 22 23:54:13] -- Executing [9998811112@default:4] Playback("SIP/66.193.176.35-00000002", "vm-goodbye") in new stack
[Jan 22 23:54:14] -- <SIP/66.193.176.35-00000002> Playing 'vm-goodbye.gsm' (language 'en')
[Jan 22 23:54:14] -- Executing [9998811112@default:5] Hangup("SIP/66.193.176.35-00000002", "") in new stack
[Jan 22 23:54:14] == Spawn extension (default, 9998811112, 5) exited non-zero on 'SIP/66.193.176.35-00000002'
[Jan 22 23:54:14] WARNING[5930][C-00000006]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Jan 22 23:54:14] -- Executing [h@default:1] AGI("SIP/66.193.176.35-00000002", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------)") in new stack
[Jan 22 23:54:15] -- <SIP/66.193.176.35-00000002>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
[Jan 22 23:54:15] Scheduling destruction of SIP dialog '3627751-3757207803-181086@msw2.telengy.net' in 32000 ms (Method: ACK)
[Jan 22 23:54:15] Reliably Transmitting (NAT) to 204.11.192.170:5080:
[Jan 22 23:54:15] BYE sip:b8436a69a3a57beb92971fd798278a9b@204.11.192.170:5080;transport=udp SIP/2.0
[Jan 22 23:54:15] Via: SIP/2.0/UDP 122.129.77.114:5060;branch=z9hG4bK3bca691b;rport
[Jan 22 23:54:15] Max-Forwards: 70
[Jan 22 23:54:15] From: <sip:18772150306@ss.callcentric.com>;tag=as607db14d
[Jan 22 23:54:15] To: <sip:9547937099102@66.193.176.35>;tag=3757207803-181126
[Jan 22 23:54:15] Call-ID: 3627751-3757207803-181086@msw2.telengy.net
[Jan 22 23:54:15] CSeq: 102 BYE
[Jan 22 23:54:15] User-Agent: Asterisk PBX 13.21.1-vici
[Jan 22 23:54:15] X-Asterisk-HangupCause: Normal Clearing
[Jan 22 23:54:15] X-Asterisk-HangupCauseCode: 16
[Jan 22 23:54:15] Content-Length: 0

your Help is much appreciated.
ali.rehan
 
Posts: 14
Joined: Tue Jan 08, 2019 7:58 pm

Re: incoming call reaching asterisk but no calls for Agent

Postby ambiorixg12 » Wed Jan 23, 2019 11:16 am

That trace it is incomplete, just display the end of the call "BYE Request", more than a SIP trace would be good your vicidial configuration and system description, as I think that based what you describe that the call is reaching Asterisk ,issue could be directly on VICI configuration
ambiorixg12
 
Posts: 453
Joined: Tue Sep 17, 2013 10:35 pm

Re: incoming call reaching asterisk but no calls for Agent

Postby ali.rehan » Wed Jan 23, 2019 12:14 pm

here is the maximum out put generated .
PLZ PLZ HELP



vicibox81*CLI>
[Jan 23 12:16:53] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 23 12:16:53] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 23 12:16:53] -- Called 55558600051@default
[Jan 23 12:16:53] -- Executing [55558600051@default:1] MeetMeAdmin("Local/55558600051@default-00000002;2", "8600051,K") in new stack
[Jan 23 12:16:53] WARNING[32027][C-00000024]: app_meetme.c:5253 admin_exec: Conference number '8600051' not found!
[Jan 23 12:16:53] -- Executing [55558600051@default:2] Hangup("Local/55558600051@default-00000002;2", "") in new stack
[Jan 23 12:16:53] == Spawn extension (default, 55558600051, 2) exited non-zero on 'Local/55558600051@default-00000002;2'
[Jan 23 12:16:53] WARNING[32027][C-00000024]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Jan 23 12:16:53] -- Executing [h@default:1] AGI("Local/55558600051@default-00000002;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------)") in new stack
[Jan 23 12:16:53] -- <Local/55558600051@default-00000002;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
[Jan 23 12:16:54] == Manager 'sendcron' logged off from 127.0.0.1
[Jan 23 12:16:54] == Manager 'sendcron' logged off from 127.0.0.1
[Jan 23 12:17:00] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 23 12:17:00] == Using SIP RTP CoS mark 5
[Jan 23 12:17:00] -- Called 333
[Jan 23 12:17:02] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 23 12:17:02] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 23 12:17:02] == Manager 'sendcron' logged off from 127.0.0.1
[Jan 23 12:17:02] -- SIP/333-00000016 is ringing
[Jan 23 12:17:02] -- SIP/333-00000016 is ringing
[Jan 23 12:17:02] == Manager 'sendcron' logged off from 127.0.0.1
[Jan 23 12:17:02] -- SIP/333-00000016 is ringing
[Jan 23 12:17:02] -- SIP/333-00000016 is ringing
[Jan 23 12:17:02] -- SIP/333-00000016 is ringing
[Jan 23 12:17:05] > 0x7f5b3c198b00 -- Strict RTP learning after remote address set to: 15.1.1.12:30348
[Jan 23 12:17:05] -- SIP/333-00000016 answered
[Jan 23 12:17:05] -- Executing [8600051@default:1] MeetMe("SIP/333-00000016", "8600051,F") in new stack
[Jan 23 12:17:05] -- Created MeetMe conference 1023 for conference '8600051'
[Jan 23 12:17:05] -- <SIP/333-00000016> Playing 'conf-onlyperson.gsm' (language 'en')
[Jan 23 12:17:06] == Manager 'sendcron' logged off from 127.0.0.1
[Jan 23 12:17:07] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 23 12:17:07] == Manager 'sendcron' logged off from 127.0.0.1
[Jan 23 12:17:32] == Using SIP RTP CoS mark 5
[Jan 23 12:17:32] > 0x7f5ae004b7c0 -- Strict RTP learning after remote address set to: 204.11.192.39:64468
[Jan 23 12:17:32] -- Executing [17778126342100@trunkinbound:1] AGI("SIP/callcentric9-00000017", "agi-DID_route.agi") in new stack
[Jan 23 12:17:32] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-DID_route.agi
[Jan 23 12:17:32] -- <SIP/callcentric9-00000017>AGI Script agi-DID_route.agi completed, returning 0
[Jan 23 12:17:32] -- Executing [9998811112@default:1] Wait("SIP/callcentric9-00000017", "2") in new stack
[Jan 23 12:17:34] -- Executing [9998811112@default:2] Answer("SIP/callcentric9-00000017", "") in new stack
[Jan 23 12:17:34] -- Executing [9998811112@default:3] Playback("SIP/callcentric9-00000017", "ss-noservice") in new stack
[Jan 23 12:17:34] -- <SIP/callcentric9-00000017> Playing 'ss-noservice.gsm' (language 'en')
[Jan 23 12:17:35] > 0x7f5ae004b7c0 -- Strict RTP switching to RTP target address 204.11.192.39:64468 as source
[Jan 23 12:17:37] > 0x7f5ae004b7c0 -- Strict RTP learning complete - Locking on source address 204.11.192.39:64468
[Jan 23 12:17:39] -- Executing [9998811112@default:4] Playback("SIP/callcentric9-00000017", "vm-goodbye") in new stack
[Jan 23 12:17:39] -- <SIP/callcentric9-00000017> Playing 'vm-goodbye.gsm' (language 'en')
[Jan 23 12:17:40] -- Executing [9998811112@default:5] Hangup("SIP/callcentric9-00000017", "") in new stack
[Jan 23 12:17:40] == Spawn extension (default, 9998811112, 5) exited non-zero on 'SIP/callcentric9-00000017'
[Jan 23 12:17:40] WARNING[32122][C-00000026]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Jan 23 12:17:40] -- Executing [h@default:1] AGI("SIP/callcentric9-00000017", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------)") in new stack
[Jan 23 12:17:40] -- <SIP/callcentric9-00000017>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
[Jan 23 12:18:01] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 23 12:18:01] == Manager 'sendcron' logged off from 127.0.0.1
[Jan 23 12:18:01] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 23 12:18:01] == Manager 'sendcron' logged off from 127.0.0.1
[Jan 23 12:18:06] NOTICE[1998]: chan_sip.c:29618 check_rtp_timeout: Disconnecting call 'SIP/333-00000016' for lack of RTP activity in 61 seconds
[Jan 23 12:18:06] -- Hungup 'DAHDI/pseudo-408180902'
[Jan 23 12:18:06] == Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/333-00000016'
[Jan 23 12:18:06] -- Executing [h@default:1] AGI("SIP/333-00000016", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----44--------------------SIP 200 OK)") in new stack
[Jan 23 12:18:06] -- <SIP/333-00000016>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... -------SIP 200 OK) completed, returning 0
[Jan 23 12:18:06] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 23 12:18:06] == Manager 'sendcron' logged off from 127.0.0.1
ali.rehan
 
Posts: 14
Joined: Tue Jan 08, 2019 7:58 pm

Re: incoming call reaching asterisk but no calls for Agent

Postby ambiorixg12 » Wed Jan 23, 2019 8:27 pm

[Jan 23 12:17:32] -- Executing [17778126342100@trunkinbound:1] AGI("SIP/callcentric9-00000017", "agi-DID_route.agi") in new stack
[Jan 23 12:17:32] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-DID_route.agi
[Jan 23 12:17:32] -- <SIP/callcentric9-00000017>AGI Script agi-DID_route.agi completed, returning 0
[Jan 23 12:17:32] -- Executing [9998811112@default:1] Wait("SIP/callcentric9-00000017", "2") in new stack
[Jan 23 12:17:34] -- Executing [9998811112@default:2] Answer("SIP/callcentric9-00000017", "") in new stack
[Jan 23 12:17:34] -- Executing [9998811112@default:3] Playback("SIP/callcentric9-00000017", "ss-noservice") in new stack
[Jan 23 12:17:34] -- <SIP/callcentric9-00000017> Playing 'ss-noservice.gsm' (language 'en')


That piece of logs show clearly you dont have a DID route for this number 17778126342100, and for that reason call is sent to the extension 9998811112
( ss-noservice.gsm), You should point that number to an Ingroup or any other particular destination
ambiorixg12
 
Posts: 453
Joined: Tue Sep 17, 2013 10:35 pm

Re: incoming call reaching asterisk but no calls for Agent

Postby ali.rehan » Thu Jan 24, 2019 6:16 am

Problem resolved callcentric provided me with one DID numb starting with 1877xxxx and user ID 17778126342100 while i configured my DID with 1877xx which waas not working as soon as i created a new DID using 17778126342100 and Routed ingroup ...Every thing started to work so thank you Vicidial team and Thank You ambiorixg12
ali.rehan
 
Posts: 14
Joined: Tue Jan 08, 2019 7:58 pm


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 110 guests