Project

General

Profile

DID Routing Problem

Added by Bubba Sparks about 3 years ago

Hello, good afternoon. I have an issue with my incoming calls and goautodial 4. I have setup DIDs for both my callcentric numbers to route to my interactive voice menu system. I am using the following for my [trunkinbound] context in extensions.conf:

[trunkinbound]
exten => s,1,AGI(agi-DID_route.agi)

and when I call my DID I get the message "The person you are trying to reach is currently unavailable..." with the following errors showing up in my CLI:

Executing [s@trunkinbound:1] AGI("SIP/callcentric19-00000009", "agi-DID_route.agi") in new stack
    -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-DID_route.agi
    -- <SIP/callcentric19-00000009>AGI Script agi-DID_route.agi completed, returning 0
    -- Auto fallthrough, channel 'SIP/callcentric19-00000009' status is 'UNKNOWN'
[Apr 13 05:24:09] WARNING[19148][C-0000000a]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
    -- Executing [h@trunkinbound:1] AGI("SIP/callcentric19-00000009", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------------)") in new stack
    -- <SIP/callcentric19-00000009>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------------) completed, returning 0

Any help will be greatly appreciated. Thank you,

Centos 7 Kernal 3.10.0-1160.21.1.el7.x86_64
GoAutodial 4 from scratch
Asterisk 13.17.2-vici
10.1.36-MariaDB MariaDB Server


Replies (2)

RE: DID Routing Problem - Added by Bubba Sparks about 3 years ago

Here is my sip.conf settings:

[general]
context=incoming            ; Default context for incoming calls
allowguest=no
udpbindaddr=0.0.0.0:5061
disallowed_methods=UPDATE
srvlookup=yes
dtmfmode=rfc2833
session-timers=refuse
register=1777XXXXXX:PASSWORD@callcentric.com

[callcentric]
type=peer
context=trunkinbound
host=callcentric.com
fromdomain=callcentric.com
defaultuser=1777XXXXXX
fromuser=1777XXXXXX
secret=PASSWORD
qualify=yes
insecure=port,invite
disallowed_methods=UPDATE
directmedia=no
videosupport=no
disallow=all
allow=ulaw

[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

[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

[100]
context=to-callcentric
type=friend
defaultuser=100
secret=Password
host=dynamic

RE: DID Routing Problem - Added by Wittie Manansala about 3 years ago

Hi,

Good Day.

I recommend to use default dialplan:

exten => _X.,1,AGI
exten => _X.,n,Hangup()

Thanks

    (1-2/2)
    Go to top