DID for inbound not working

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

DID for inbound not working

Postby rtabigue » Thu Aug 18, 2011 1:46 pm

Hi,

have created in-group and pointed DID at it. have followed the manager manual at page 22 and everything is done however when i called the did number call will disconnected. Here's the cli output during the test call

-- Executing [18009080377@inbound-context:1] Answer("SIP/cordia2-0000000e", "") in new stack
-- Executing [18009080377@inbound-context:2] Ringing("SIP/cordia2-0000000e", "") in new stack
-- Executing [18009080377@inbound-context:3] Wait("SIP/cordia2-0000000e", "2") in new stack
-- Executing [18009080377@inbound-context:4] Set("SIP/cordia2-0000000e", "DIDNUMBER=18009080377") in new stack
-- Executing [18009080377@inbound-context:5] NoOp("SIP/cordia2-0000000e", "18009080377") in new stack
-- Executing [18009080377@inbound-context:6] NoOp("SIP/cordia2-0000000e", "") in new stack
-- Executing [18009080377@inbound-context:7] Set("SIP/cordia2-0000000e", "ORIG_CALLERID=") in new stack
-- Executing [18009080377@inbound-context:8] Set("SIP/cordia2-0000000e", "DB(callerid/number)=") in new stack
-- Executing [18009080377@inbound-context:9] Goto("SIP/cordia2-0000000e", "trunkinbound|18009080377|1") in new stack
-- Goto (trunkinbound,18009080377,1)
-- Executing [18009080377@trunkinbound:1] AGI("SIP/cordia2-0000000e", "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 'SIP/cordia2-0000000e' status is 'UNKNOWN'
-- Executing [h@trunkinbound:1] DeadAGI("SIP/cordia2-0000000e", "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

Also, have checked using console command and below is the cli output:

console dial 18009080377@trunkinbound
== Console is full duplex
-- Executing [18009080377@trunkinbound:1] AGI("Console/dsp", "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 'Console/dsp' status is 'UNKNOWN'
-- Executing [h@trunkinbound:1] DeadAGI("Console/dsp", "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
<< Hangup on console >>

Here's the registreation string and account entry of the carrier:

register=> 1800XXXXX:XXXXXXX@XXXX.XXXXX.net/1800XXXXX

[cordia]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=1800XXXXX
secret=XXXXX
host=XXXXXX
dtmfmode=rfc2833
canreinvite=no
qualify=yes
nat=yes
ignoresdpversion=yes
fromuser=1800XXXXXXX
context=inbound-context
insecure=very

Please advise what's wrong with my setup. Thanks
VERSION: 2.2.1-237
BUILD: 100510-2015
Vicidial 2.2.1
Asterisk 1.4.27.1-vici
Dahdi 2.3
VtigerCRM 5.1.0
Sangoma 3.5.14
CentOS 5.5
rtabigue
 
Posts: 24
Joined: Wed Dec 29, 2010 1:03 pm

Postby rtabigue » Fri Aug 19, 2011 4:27 pm

Hi,

Still getting this error. Any help would be great appreciated.
VERSION: 2.2.1-237
BUILD: 100510-2015
Vicidial 2.2.1
Asterisk 1.4.27.1-vici
Dahdi 2.3
VtigerCRM 5.1.0
Sangoma 3.5.14
CentOS 5.5
rtabigue
 
Posts: 24
Joined: Wed Dec 29, 2010 1:03 pm

Postby williamconley » Sat Aug 20, 2011 12:47 am

too bad you bumped your own thread. i check unanswered and ran out of time before i got to this one! maybe tomorrow.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby williamconley » Sat Aug 20, 2011 9:43 am

start by changing "context=inbound-context" to "context=trunkinbound"

also: you should leave your DID set to EXTEN and leave the EXTEN as 9998811112 until THAT works. Then you can modify it one step at a time and trace your error easily.

Baby steps.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby rtabigue » Sat Aug 20, 2011 10:07 pm

Hi William,

Thanks for your help. I already figured out the issue and it was fixed..


:D :D :D
VERSION: 2.2.1-237
BUILD: 100510-2015
Vicidial 2.2.1
Asterisk 1.4.27.1-vici
Dahdi 2.3
VtigerCRM 5.1.0
Sangoma 3.5.14
CentOS 5.5
rtabigue
 
Posts: 24
Joined: Wed Dec 29, 2010 1:03 pm

Postby rtabigue » Mon Aug 22, 2011 12:14 pm

Hi William,

Inbound is already working. We tried outbound and we got not invalid extension prompt. Here's the cli output of the outbound call we did. Please help. Thanks

-- Executing [915033601710@default:1] AGI("SIP/1001-00000006", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing [915033601710@default:2] Dial("SIP/1001-00000006", "SIPcordia2/15033601710||to") in new stack
[Aug 22 13:06:00] WARNING[8233]: channel.c:3443 ast_request: No channel type registered for 'SIPcordia2'
[Aug 22 13:06:00] WARNING[8233]: app_dial.c:1296 dial_exec_full: Unable to create channel of type 'SIPcordia2' (cause 66 - Channel not implemented)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [915033601710@default:3] Hangup("SIP/1001-00000006", "") in new stack
== Spawn extension (default, 915033601710, 3) exited non-zero on 'SIP/1001-00000006'
-- Executing [h@default:1] DeadAGI("SIP/1001-00000006", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----66-----CHANUNAVAIL----------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
VERSION: 2.2.1-237
BUILD: 100510-2015
Vicidial 2.2.1
Asterisk 1.4.27.1-vici
Dahdi 2.3
VtigerCRM 5.1.0
Sangoma 3.5.14
CentOS 5.5
rtabigue
 
Posts: 24
Joined: Wed Dec 29, 2010 1:03 pm

Postby williamconley » Mon Aug 22, 2011 7:46 pm

"SIPcordia2/15033601710||to

SIP is the protocol. It requires a "/" after it.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby rtabigue » Tue Aug 23, 2011 9:37 am

Thanks william, its working now
VERSION: 2.2.1-237
BUILD: 100510-2015
Vicidial 2.2.1
Asterisk 1.4.27.1-vici
Dahdi 2.3
VtigerCRM 5.1.0
Sangoma 3.5.14
CentOS 5.5
rtabigue
 
Posts: 24
Joined: Wed Dec 29, 2010 1:03 pm

Postby williamconley » Tue Aug 23, 2011 9:54 pm

Excellent. Glad to help. Now: Make some money with it! Then buy the Vicidial Manager's Manual (and thank Matt for the free software while getting enough information to save you HOURS of hair-pulling in the future). then find a feature you want to add .. and pay to have it installed so everyone can use it. And thumb your nose at Microsoft the whole time.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 57 guests