Inbound calls not connecting *SOLVED*
Posted: Fri Jun 28, 2013 4:38 am
Hello all,
This is my first attempt at setting up inbound calling, have experience with setting up outbound and have that working fine. Here are my specs:-
Scratch built using instructions in docs folder
ViciDial 2.8-404a build 130605-0841
Asterisk 1.4.44
Loadavg 0.04
HP DL160 G6 with 2x Intel Xeon E5606 @ 2.13Ghz with 8Gb DDR3
GSM codec
Pure VoIP with IAX2 trunk for outbound
Ubuntu 12.04.2
I've set up a DID using the instructions in the ViciDial Manager manual and pointed it at an in group. I've ensured that the context for my carrier is set to trunkinbound. When I try to make an inbound call it doesn't ring and fails to connect. I get the following CLI output.
-- Accepting AUTHENTICATED call from <my provider>:
> requested format = ulaw,
> requested prefs = (),
> actual format = ulaw,
> host prefs = (ulaw|alaw),
> priority = mine
-- Executing [<DID number>@trunkinbound:1] AGI("IAX2/gz1-7537", "agi-DID_route.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
-- AGI Script agi-DID_route.agi completed, returning 0
== Auto fallthrough, channel 'IAX2/gz1-7537' status is 'UNKNOWN'
-- Executing [h@trunkinbound:1] DeadAGI("IAX2/gz1-7537", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
-- Hungup 'IAX2/gz1-7537'
I checked the /var/log/astguiclient folder for a didin log file and haven't found any. If I enable agi debug I get this.
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
AGI Tx >> agi_request: agi-DID_route.agi
AGI Tx >> agi_channel: IAX2/gz1-12314
AGI Tx >> agi_language: en
AGI Tx >> agi_type: IAX2
AGI Tx >> agi_uniqueid: 1372412237.309
AGI Tx >> agi_callerid: <My CID>
AGI Tx >> agi_calleridname: <My CID>
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: trunkinbound
AGI Tx >> agi_extension: <DID number>
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
What should I check next?
This is my first attempt at setting up inbound calling, have experience with setting up outbound and have that working fine. Here are my specs:-
Scratch built using instructions in docs folder
ViciDial 2.8-404a build 130605-0841
Asterisk 1.4.44
Loadavg 0.04
HP DL160 G6 with 2x Intel Xeon E5606 @ 2.13Ghz with 8Gb DDR3
GSM codec
Pure VoIP with IAX2 trunk for outbound
Ubuntu 12.04.2
I've set up a DID using the instructions in the ViciDial Manager manual and pointed it at an in group. I've ensured that the context for my carrier is set to trunkinbound. When I try to make an inbound call it doesn't ring and fails to connect. I get the following CLI output.
-- Accepting AUTHENTICATED call from <my provider>:
> requested format = ulaw,
> requested prefs = (),
> actual format = ulaw,
> host prefs = (ulaw|alaw),
> priority = mine
-- Executing [<DID number>@trunkinbound:1] AGI("IAX2/gz1-7537", "agi-DID_route.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
-- AGI Script agi-DID_route.agi completed, returning 0
== Auto fallthrough, channel 'IAX2/gz1-7537' status is 'UNKNOWN'
-- Executing [h@trunkinbound:1] DeadAGI("IAX2/gz1-7537", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
-- Hungup 'IAX2/gz1-7537'
I checked the /var/log/astguiclient folder for a didin log file and haven't found any. If I enable agi debug I get this.
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
AGI Tx >> agi_request: agi-DID_route.agi
AGI Tx >> agi_channel: IAX2/gz1-12314
AGI Tx >> agi_language: en
AGI Tx >> agi_type: IAX2
AGI Tx >> agi_uniqueid: 1372412237.309
AGI Tx >> agi_callerid: <My CID>
AGI Tx >> agi_calleridname: <My CID>
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: trunkinbound
AGI Tx >> agi_extension: <DID number>
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
What should I check next?