astguiclient 2.0.5-173

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

astguiclient 2.0.5-173

Postby gonzalezgjaime » Wed Apr 22, 2009 5:39 pm

Hi to all, i just downloaded vicidialnow with vici 2.0.5-173 and when i set up the carrier on the web gui i still cant make any calls, it is suposed to work right from the gui correct?

any help is much appreciated.

Jaime Gonzalez.
gonzalezgjaime
 
Posts: 61
Joined: Wed Nov 19, 2008 7:08 pm

Postby mflorell » Thu Apr 23, 2009 12:25 am

Please post some Asterisk CLI output.

What did you set as the dialplan entry for your carrier?

What is the campaign dial prefix set to?
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gonzalezgjaime » Thu Apr 23, 2009 12:50 pm

First of all thank you for your reply.

My setup works the following way, i have an asterisk box with elastix and freepbx which connects to my carrier, so i set up a sip trunk between the elastix box and my vicidial box, here is the configuration i use (when i set it up manually in sip.conf and extensions.conf it works like a charm, but not on the gui.

carrier id: 600
carrier name: 600
reg string: none
template: none

acc entry:
disallow=all
allow=ulaw
allow=gsm
type=friend
user=600
secret=600
host=192.168.20.5
dtmfmode=rfc2833
qualify=yes

protocol: SIP
globals string: 600=600@192.168.20.5:5060

dialplan entry:
exten => _1NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1NXXNXXXXXX,2,Dial(sip/${EXTEN:1}@600,55,o)
exten => _1NXXNXXXXXX,3,Hangup


the CLI gives the following output when i try to call using the configuration through the gui:

-- Executing AGI("SIP/cc100-092b1598", "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 Dial("SIP/cc100-092b1598", "sip/2157465869@600|55|o") in new stack
Apr 23 05:47:20 WARNING[5597]: chan_sip.c:2018 create_addr: No such host: 600
Apr 23 05:47:20 NOTICE[5597]: app_dial.c:1076 dial_exec_full: Unable to create channel of type 'sip' (cause 3 - No route to destination)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Hangup("SIP/cc100-092b1598", "") in new stack
== Spawn extension (default, 12157465869, 3) exited non-zero on 'SIP/cc100-092b1598'
-- Executing DeadAGI("SIP/cc100-092b1598", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----3-----CHANUNAVAIL----------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0


it acts as if there was no trunk set up
i am only trying to make calls manually at the time, for testing purposes, but when i use vicidial the campaign prefix is x, we only dial 1 before the whole number.

Also, when i use sip show peers the sip trunk does not appear, but if i set up the configuration manually it does, weird.

Any ideas?

thank a lot for your support.

Jaime Gonzalez.
Last edited by gonzalezgjaime on Thu Apr 23, 2009 1:13 pm, edited 1 time in total.
gonzalezgjaime
 
Posts: 61
Joined: Wed Nov 19, 2008 7:08 pm

Postby Op3r » Thu Apr 23, 2009 12:54 pm

sip show registry?

I bet your sip account is not registered.

add this

register => account:secret@ip on the Carrier reg string.
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1432
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Postby gonzalezgjaime » Thu Apr 23, 2009 1:22 pm

I did that, and it doesent work,

after using reg string:
sip show registry
Host Username Refresh State
192.168.20.5:5060 600 120 Request Sent

but on box .5
i get this error on CLI
-- Got SIP response 603 "Declined (no dialog)" back from 192.168.20.60

thanks for your time.
gonzalezgjaime
 
Posts: 61
Joined: Wed Nov 19, 2008 7:08 pm

Postby Op3r » Thu Apr 23, 2009 1:59 pm

did you reload?

or did you have the vicidial reloaded your entries?

sip show registry
Host Username Refresh State
192.168.20.5:5060 600 120 Request Sent


this means it didnt register.
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1432
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Postby gonzalezgjaime » Thu Apr 23, 2009 2:06 pm

I reloaded, yes i see it doesent register, as it doesent appear in sip show peers, but i created the trunk myself so i know the user secret, etc are all good, weird issue, thanks again for your help.
gonzalezgjaime
 
Posts: 61
Joined: Wed Nov 19, 2008 7:08 pm

Postby williamconley » Thu Apr 23, 2009 2:38 pm

Please try to register an sip phone to that device with the same settings.
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: 20253
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby gonzalezgjaime » Thu Apr 23, 2009 2:45 pm

I have, the thing is that this trunk i am using is actually an extension from my elastix box, i use it like a trunk for my vicidialnow box, but i never had to use a register string to connect them, actually if i use the same settings but manually in sip.conf and extensions.conf the connection works and i can make calls use vici 100% etc. But not if i configure it via the web gui, am i missing something?

thanks for your help.

Jaime Gonzalez.
gonzalezgjaime
 
Posts: 61
Joined: Wed Nov 19, 2008 7:08 pm

Postby gonzalezgjaime » Thu Apr 23, 2009 5:42 pm

Ok, i made it work, i made a mistake assuming that the gui would generate the [trunkname] line by itself so that was the issue.

now when i try to make a call my CLI shows this:

-- Executing AGI("SIP/cc100-09129060", "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 Dial("SIP/cc100-09129060", "sip/2154543322@600|55|o") in new stack
-- Called 2154543322@600
Apr 23 10:38:28 NOTICE[2502]: chan_sip.c:9879 handle_response_invite: Failed to authenticate on INVITE to '"cc100" <sip:cc100@192.168.20.60>;tag=as18d58135'
-- SIP/600-0912eda0 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing Hangup("SIP/cc100-09129060", "") in new stack
== Spawn extension (default, 12154543322, 3) exited non-zero on 'SIP/cc100-09129060'
-- Executing DeadAGI("SIP/cc100-09129060", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----CONGESTION----------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0

It seems that there are 2 errors in there one with the extension and the other with the trunk 600, but i could be wrong, any ideas?

thanks in advance.

Jaime Gonzalez.
gonzalezgjaime
 
Posts: 61
Joined: Wed Nov 19, 2008 7:08 pm

Postby gonzalezgjaime » Fri Apr 24, 2009 9:41 am

Any ideas??
gonzalezgjaime
 
Posts: 61
Joined: Wed Nov 19, 2008 7:08 pm

Postby marcin » Fri Apr 24, 2009 6:26 pm

there are deferent ways to setup a sip trunnk:
exten => _1NXXNXXXXXX,2,dial(SIP/${EXTEN}@SIPtrunk,55,o)
exten => _1NXXNXXXXXX,2,dial(SIP/${EXTEN}@${SIPtrunkI},55,o)
exten => _1NXXNXXXXXX,2,dial(${SIPtrunk}/${EXTEN:1},55,o)
See what works for your provider, also see if your provider allow deferent called ID information to be sent by your server?
marcin
 
Posts: 95
Joined: Wed Mar 18, 2009 8:00 am

Postby marcin » Fri Apr 24, 2009 6:27 pm

check your password for cc100 user
marcin
 
Posts: 95
Joined: Wed Mar 18, 2009 8:00 am

Postby williamconley » Sat Apr 25, 2009 10:52 am

Also, you may want to name your provider in case there are provider specific issues someone can help you with.
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: 20253
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby gonzalezgjaime » Sat Apr 25, 2009 2:04 pm

Hi, thanks for your reply, the following methods

exten => _1NXXNXXXXXX,2,Dial(${EXTEN}/${601},55,o)
exten => _1NXXNXXXXXX,2,Dial(${601}/${EXTEN:1},55,o)

give this output

-- Executing AGI("SIP/cc100-0969bc48", "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 Dial("SIP/cc100-0969bc48", "601@192.168.20.5:5060/2156475564|55|o") in new stack
Apr 25 06:55:12 WARNING[309]: channel.c:2621 ast_request: No channel type registered for '601@192.168.20.5:5060'
Apr 25 06:55:12 NOTICE[309]: app_dial.c:1076 dial_exec_full: Unable to create channel of type '601@192.168.20.5:5060' (cause 66 - Channel not implemented)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Hangup("SIP/cc100-0969bc48", "") in new stack
== Spawn extension (default, 12156475564, 3) exited non-zero on 'SIP/cc100-0969bc48'
-- Executing DeadAGI("SIP/cc100-0969bc48", "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

while this one

exten => _1NXXNXXXXXX,2,dial(SIP/${EXTEN}@SIPtrunk,55,o)

gives me the cli output

-- Executing AGI("SIP/cc100-09697b98", "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 Dial("SIP/cc100-09697b98", "SIP/12156475564@601|55|o") in new stack
-- Called 12156475564@601
Apr 25 07:01:08 NOTICE[2529]: chan_sip.c:9879 handle_response_invite: Failed to authenticate on INVITE to '"cc100" <sip:cc100@192.168.20.60>;tag=as361293c4'
-- SIP/601-096cac78 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing Hangup("SIP/cc100-09697b98", "") in new stack
== Spawn extension (default, 12156475564, 3) exited non-zero on 'SIP/cc100-09697b98'
-- Executing DeadAGI("SIP/cc100-09697b98", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----CONGESTION----------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0

the provider for this vicidial box is an elastix box i have on my network which is connected to the VOIP carrier via SIP, i use the extension 601 in the elastix box as a trunk for the vicidial box.

Just to make a note, if i use these settings manually the vicibox works perfectly, the problem is when i use them via de web gui.

Thank you very much for your help.

Jaime Gonzalez.
gonzalezgjaime
 
Posts: 61
Joined: Wed Nov 19, 2008 7:08 pm


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 106 guests