context trunkinbound not making calls

All installation and configuration problems and questions

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

context trunkinbound not making calls

Postby Boutchou » Wed Oct 16, 2019 11:46 am

Hello to all, am new here, i want to first thank the admins for granting my request to joint this forum and congratulate them for this soft, Great job!!!

Installation from scratch, please i have an issue with me context "trunkinbound", i followed the manager manual; i created a campagne, ingroup and pointed a DID(8002277655) to it, asterisk version 13.17.2-vici. Please help :cry:
my carrier configuration:

Account entry:
[new carrier]
disallow=all
allow=ulaw
allow=alaw
allow=gsm
type=friend
username=username
secret=secret
host=XXXXXXX
dtmfmode=rfc2833
context=trunkinbound

Dial plan entry: exten => _237XXXXXXXXX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _237XXXXXXXXX.,3,Dial(SIP/${XXXXX}/${EXTEN:2},,tTo)
exten => _237XXXXXXXXX.,4,Hangup


Cli output:

== Using SIP RTP CoS mark 5
> 0x7fbb60269430 -- Strict RTP learning after remote address set to: 154.72.160.160:1130
-- Executing [8002277655@trunkinbound:1] AGI("SIP/9165494360-0000005b", "agi-DID_route.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
-- <SIP/9165494360-0000005b>AGI Script agi-DID_route.agi completed, returning 0
-- Executing [8002277655@trunkinbound:2] Hangup("SIP/9165494360-0000005b", "") in new stack
== Spawn extension (trunkinbound, 8002277655, 2) exited non-zero on 'SIP/9165494360-0000005b'
[Oct 16 18:44:44] WARNING[31184][C-0000047c]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
-- Executing [h@trunkinbound:1] AGI("SIP/9165494360-0000005b", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------)") in new stack
-- <SIP/9165494360-0000005b>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
VERSION: 2.14-730a
BUILD: 191121-2256
DB Schema Version: 1579
asterisk-13.17.2-vici
Boutchou
 
Posts: 14
Joined: Wed Oct 16, 2019 4:32 am

Re: context trunkinbound not making calls

Postby ambiorixg12 » Wed Oct 16, 2019 9:46 pm

Executing [8002277655@trunkinbound:1] AGI("SIP/9165494360-0000005b", "agi-DID_route.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
-- <SIP/9165494360-0000005b>AGI Script agi-DID_route.agi completed, returning 0


Until here all looks OK, Would be good AGI output for agi-DID_route.agi , also scratch installation it is not recommended try better VICIBOX
ambiorixg12
 
Posts: 453
Joined: Tue Sep 17, 2013 10:35 pm

Re: context trunkinbound not making calls

Postby Boutchou » Thu Oct 17, 2019 2:47 am

Thanks for replying, the scratch installation is because am working online
here is my agi-DID_route.agi debug:
CentOS-76-64-minimal*CLI>
== Using SIP RTP CoS mark 5
> 0x7f06f059a2d0 -- Strict RTP learning after remote address set to: 154.72.160.32:3442
-- Executing [8002277655@trunkinbound:1] AGI("SIP/9165494360-0000000f", "agi-DID_route.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
<SIP/9165494360-0000000f>AGI Tx >> agi_request: agi-DID_route.agi
<SIP/9165494360-0000000f>AGI Tx >> agi_channel: SIP/9165494360-0000000f
<SIP/9165494360-0000000f>AGI Tx >> agi_language: en
<SIP/9165494360-0000000f>AGI Tx >> agi_type: SIP
<SIP/9165494360-0000000f>AGI Tx >> agi_uniqueid: 1571298361.15
<SIP/9165494360-0000000f>AGI Tx >> agi_version: 13.17.2-vici
<SIP/9165494360-0000000f>AGI Tx >> agi_callerid: 9165494360
<SIP/9165494360-0000000f>AGI Tx >> agi_calleridname: soft_1
<SIP/9165494360-0000000f>AGI Tx >> agi_callingpres: 0
<SIP/9165494360-0000000f>AGI Tx >> agi_callingani2: 0
<SIP/9165494360-0000000f>AGI Tx >> agi_callington: 0
<SIP/9165494360-0000000f>AGI Tx >> agi_callingtns: 0
<SIP/9165494360-0000000f>AGI Tx >> agi_dnid: 8002277655
<SIP/9165494360-0000000f>AGI Tx >> agi_rdnis: unknown
<SIP/9165494360-0000000f>AGI Tx >> agi_context: trunkinbound
<SIP/9165494360-0000000f>AGI Tx >> agi_extension: 8002277655
<SIP/9165494360-0000000f>AGI Tx >> agi_priority: 1
<SIP/9165494360-0000000f>AGI Tx >> agi_enhanced: 0.0
<SIP/9165494360-0000000f>AGI Tx >> agi_accountcode: 9165494360
<SIP/9165494360-0000000f>AGI Tx >> agi_threadid: 139664535451392
<SIP/9165494360-0000000f>AGI Tx >>
-- <SIP/9165494360-0000000f>AGI Script agi-DID_route.agi completed, returning 0
-- Executing [8002277655@trunkinbound:2] Hangup("SIP/9165494360-0000000f", "") in new stack
== Spawn extension (trunkinbound, 8002277655, 2) exited non-zero on 'SIP/9165494360-0000000f'
[Oct 17 09:46:01] WARNING[1748][C-0000062e]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
-- Executing [h@trunkinbound:1] AGI("SIP/9165494360-0000000f", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------)") in new stack
AGI Tx >> agi_network: yes
AGI Tx >> agi_network_script: call_log--HVcauses--PRI-----NODEBUG-----16--------------------)
<SIP/9165494360-0000000f>AGI Tx >> agi_request: agi://127.0.0.1:4577/call_log--HVcauses ... ----------)
<SIP/9165494360-0000000f>AGI Tx >> agi_channel: SIP/9165494360-0000000f
<SIP/9165494360-0000000f>AGI Tx >> agi_language: en
<SIP/9165494360-0000000f>AGI Tx >> agi_type: SIP
<SIP/9165494360-0000000f>AGI Tx >> agi_uniqueid: 1571298361.15
<SIP/9165494360-0000000f>AGI Tx >> agi_version: 13.17.2-vici
<SIP/9165494360-0000000f>AGI Tx >> agi_callerid: 9165494360
<SIP/9165494360-0000000f>AGI Tx >> agi_calleridname: soft_1
<SIP/9165494360-0000000f>AGI Tx >> agi_callingpres: 0
<SIP/9165494360-0000000f>AGI Tx >> agi_callingani2: 0
<SIP/9165494360-0000000f>AGI Tx >> agi_callington: 0
<SIP/9165494360-0000000f>AGI Tx >> agi_callingtns: 0
<SIP/9165494360-0000000f>AGI Tx >> agi_dnid: 8002277655
<SIP/9165494360-0000000f>AGI Tx >> agi_rdnis: unknown
<SIP/9165494360-0000000f>AGI Tx >> agi_context: trunkinbound
<SIP/9165494360-0000000f>AGI Tx >> agi_extension: h
<SIP/9165494360-0000000f>AGI Tx >> agi_priority: 1
<SIP/9165494360-0000000f>AGI Tx >> agi_enhanced: 0.0
<SIP/9165494360-0000000f>AGI Tx >> agi_accountcode: 9165494360
<SIP/9165494360-0000000f>AGI Tx >> agi_threadid: 139664535451392
<SIP/9165494360-0000000f>AGI Tx >>
-- <SIP/9165494360-0000000f>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
<SIP/9165494360-0000000f>AGI Tx >> HANGUP
== Manager 'sendcron' logged on from 127.0.0.1
VERSION: 2.14-730a
BUILD: 191121-2256
DB Schema Version: 1579
asterisk-13.17.2-vici
Boutchou
 
Posts: 14
Joined: Wed Oct 16, 2019 4:32 am

Re: context trunkinbound not making calls

Postby Boutchou » Thu Oct 17, 2019 5:14 am

Hi to all, please someone help, here is my extensions.conf

[trunkinbound]
; DID call routing process
; exten => _XXXXXXXXXX,1,AGI(agi-DID_route.agi) ; use this one instead of the one below if you are having delay issues, and match to number of received digits
exten => _X.,1,AGI(agi-DID_route.agi)
exten => _X.,n,Hangup()
VERSION: 2.14-730a
BUILD: 191121-2256
DB Schema Version: 1579
asterisk-13.17.2-vici
Boutchou
 
Posts: 14
Joined: Wed Oct 16, 2019 4:32 am

Re: context trunkinbound not making calls

Postby Boutchou » Fri Oct 18, 2019 9:54 am

hi please am still at thesame spot
VERSION: 2.14-720a
BUILD: 191014-1816
VERSION: 2.14-730a
BUILD: 191121-2256
DB Schema Version: 1579
asterisk-13.17.2-vici
Boutchou
 
Posts: 14
Joined: Wed Oct 16, 2019 4:32 am

Re: context trunkinbound not making calls

Postby ambiorixg12 » Fri Oct 18, 2019 7:52 pm

Your agi-DID_route.agi shoul send the calls to various places depending on the settings for your DID, assuming you have the DID correctly setup it should works , test routing the DID calls to an exten to make sure the AGI scipt works. I also told you try VICIBOX , because scratch installation cause a lot issues and as far I know it is also not supported on this forum
ambiorixg12
 
Posts: 453
Joined: Tue Sep 17, 2013 10:35 pm

Re: context trunkinbound not making calls

Postby Boutchou » Sat Oct 19, 2019 10:12 am

hi thanks so much for the response, i reinstalled the vicidial still from scratch,
VERSION: 2.14-730a
BUILD: 191121-2256
DB Schema Version: 1579
asterisk-13.17.2-vici
Boutchou
 
Posts: 14
Joined: Wed Oct 16, 2019 4:32 am


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot] and 81 guests