Page 1 of 1

outbound call don't work

PostPosted: Tue Aug 25, 2009 1:12 pm
by unikbit
Hello,

I have installed Vicidialnow CE 1.2
I have followed steps in "Step by step guide" but still I get error when try to call.
Even if I use only the xlite I can't call.

I get the message "This is not a valid extention" when try to call using webbased agent form.

When I try to call using only asterisk I get "The person you are calling is unavailable"

I think I missed something in the dial plan.

My sip provider accept this format <countrycode><number>. By example: 0040 745234345 (00 or +)

My sip config (I have to spec that I used only the webform to enter the details)

Registration String
register => 2110001XXXX:XXXX@terrasip.net:5060

Account Entry
[2110001XXXX]
disallow=all
allow=ulaw
type=friend
username=2110001XXXX
secret=xxxx
host=dynamic
dtmfmode=rfc2833
context=trunkinbound


Globals String:TESTSIPTRUNK = SIP/2110001xxxx


Dialplan Entry:
exten => _900NXNXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _900NXNXXXXXXXX,2,Dial(${TESTSIPTRUNK}/${EXTEN:1},,tTor)
exten => _900NXNXXXXXXXX,3,Hangup


CLI when try to dial from Vicidial:

Connected to Asterisk 1.2.30.2 currently running on vici (pid = 2244)
Verbosity is at least 21
-- Remote UNIX connection
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing MeetMe("Local/8600051@default-3c42,2", "8600051|F") in new stac k
> Channel Local/8600051@default-3c42,1 was answered.
== Starting Local/8600051@default-3c42,1 at default,940745234234,1 failed so f alling back to exten 's'
== Starting Local/8600051@default-3c42,1 at default,s,1 still failed so fallin g back to context 'default'
-- Sent into invalid extension 's' in context 'default' on Local/8600051@def ault-3c42,1
-- Executing Playback("Local/8600051@default-3c42,1", "invalid") in new stac k
-- Playing 'invalid' (language 'en')
Aug 25 13:52:01 WARNING[3823]: file.c:1045 ast_waitstream: Unexpected control su bclass '-1'


When I try to call using only xlite don't get CLI.

When I log with xlite I use cc100 agent

Sip regustry CLI:

vici*CLI> sip show registry
Host Username Refresh State
terrasip.net:5060 2110001xxxx 105 Registered


Thanks in advance

PostPosted: Wed Aug 26, 2009 2:03 pm
by unikbit
I apreciate any help.

thanks

PostPosted: Wed Aug 26, 2009 2:38 pm
by unikbit
When I call using only xlite and cc100 login I get:

Connected to Asterisk 1.2.30.2 currently running on vici (pid = 2233)
Verbosity is at least 21
-- Remote UNIX connection
-- Executing AGI("SIP/cc100-08b7e9c0", "agi://127.0.0.1:4577/call_log") in n ew stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("SIP/cc100-08b7e9c0", "SIP/21100017918/0040745xxxxxx|55|tT o") in new stack
-- Called 21100017918/004074xxxxxx
Aug 26 15:29:25 WARNING[2346]: chan_sip.c:9890 handle_response_invite: Forbidden - wrong password on authentication for INVITE to '"cc100" <sip:cc100@192.168.0. 101>;tag=as6ac531ab'
-- SIP/21100017918-08b83f00 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing Hangup("SIP/cc100-08b7e9c0", "") in new stack
== Spawn extension (default, 90040745xxxxxx, 3) exited non-zero on 'SIP/cc100- 08b7e9c0'
-- Executing DeadAGI("SIP/cc100-08b7e9c0", "agi://127.0.0.1:4577/call_log--H Vcauses--PRI-----NODEBUG-----21-----CONGESTION----------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----2 1-----CONGESTION---------- completed, returning 0

yes

PostPosted: Wed Aug 26, 2009 8:41 pm
by brett05
you have a probleme from your xlite registration
look good in your admin-->phones for password and login

PostPosted: Thu Aug 27, 2009 12:31 am
by unikbit
Hi Brett,

Thanks for answer.

In sip.conf I found this details for cc100:

[cc100]
username=cc100
secret=test
mailbox=100
context=default
type=friend
host=dynamic

So I'm using in xlite this config:
user cc100
pass: test

This is default in vicidialnow[/url]

PostPosted: Thu Aug 27, 2009 7:43 am
by webgurru
Hi Unikbit,

Did you checked your SIP registration on CLI? For this on asterisk CLI type " sip show registry"

Best regards,

PostPosted: Thu Aug 27, 2009 10:26 am
by unikbit
Hi webgurru,

seems to be registered:


vici*CLI> sip show registry
Host Username Refresh State
terrasip.net:5060 21100017918 105 Registered

PostPosted: Thu Aug 27, 2009 10:49 am
by webgurru
Hi Unikbit,

Did you tried any other user name in xlite? Also try to use any other SIP phone.

Best regards,

PostPosted: Thu Aug 27, 2009 1:14 pm
by unikbit
I canged the user to cc101 with pass test (the next default extention)

I get the same message.

thanks


Executing AGI("SIP/cc101-088ee290", "agi://127.0.0.1:4577/call_log") in n ew stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("SIP/cc101-088ee290", "SIP/21100017918/0040232273405|55|o" ) in new stack
-- Called 21100017918/0040232273405
Aug 27 14:14:24 WARNING[2438]: chan_sip.c:9890 handle_response_invite: Forbidden - wrong password on authentication for INVITE to '"cc101" <sip:cc101@192.168.0. 101>;tag=as542d6522'
-- SIP/21100017918-088f3de8 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing Hangup("SIP/cc101-088ee290", "") in new stack
== Spawn extension (default, 90040232273405, 3) exited non-zero on 'SIP/cc101- 088ee290'
-- Executing DeadAGI("SIP/cc101-088ee290", "agi://127.0.0.1:4577/call_log--H Vcauses--PRI-----NODEBUG-----21-----CONGESTION----------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----2 1-----CONGESTION---------- completed, returning 0

PostPosted: Fri Aug 28, 2009 4:42 am
by webgurru
Hi Unikbit,

If this not a production server, I suggest to reinstall VICIDIALNOW 1.2 from a clean CD. It may be your install is corrupt. Most of the time it's easy to do a fresh install as compare to trace the error.

Best regards,

PostPosted: Sat Aug 29, 2009 4:56 am
by unikbit
this is the second install and is fresh.
but I will do a new one

PostPosted: Wed Sep 02, 2009 5:17 pm
by rfidler
Hi Unikbit,

Any luck? I'm in the same boat... followed the instructions to the letter and tried multiple installs, even on two different boxes. Just curious if you've made any progress.

PostPosted: Sat Sep 05, 2009 7:06 am
by unikbit
rfidler no progress
same problem

PostPosted: Thu Oct 22, 2009 11:48 am
by manickam
got the same problem i think it's related to the dial plan and the extension.conf file.

I read around in the forum that you must edit the extensions.conf and comment the lines having _91NXXNXXXXX

so that no conlict is created between your dialplan set into the gui and the default dialplan.

Also try puttin _1 in the gui instead of _9 and then go to your campaign and change prefix to 1.

i've tried following things but getting the same error