Page 1 of 1

Call r not connecting

PostPosted: Wed Jun 02, 2010 4:26 pm
by kevincyrus
hi to all
i am a new user to vicidial..
we installed vicidialnow 1.2
and the installation was successful ...
we installed g729..the installation was successful .
configured sip trunks
created campaign ..
sip channels ..
but now we r facing a problem ..
calls r now getting connected...
when we monitored in Cli we get message like :-

-- Executing MeetMe("Local/8600051@default-baa7,2", "8600051|F") in new stack
> Channel Local/8600051@default-baa7,1 was answered.
-- Executing AGI("Local/8600051@default-baa7,1", "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("Local/8600051@default-baa7,1", "SIP/net4india-outbound/14166092259||tTor") in new stack
-- Called net4india-outbound/14166092259
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing MeetMe("Local/8600051@default-e925,2", "8600051|F") in new stack
> Channel Local/8600051@default-e925,1 was answered.
-- Executing AGI("Local/8600051@default-e925,1", "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("Local/8600051@default-e925,1", "SIP/net4india-outbound/14166092328||tTor") in new stack
-- Called net4india-outbound/14166092328
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Spawn extension (default, 914166092328, 2) exited non-zero on 'Local/8600051@default-e925,1'
-- Executing DeadAGI("Local/8600051@default-e925,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
== Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-e925,2'
-- Executing DeadAGI("Local/8600051@default-e925,2", "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
== Manager 'sendcron' logged off from 127.0.0.1
can any one please help me..

PostPosted: Thu Jun 03, 2010 11:53 am
by gardo
Can't find any error on the Asterisk CLI. Looks normal. Is your server behind a firewall/router?

thanks

PostPosted: Thu Jun 03, 2010 3:27 pm
by kevincyrus
no...
now the server is working it was a issue with the dial plans

hello

PostPosted: Fri Jun 04, 2010 7:06 pm
by sunnymannava
hello can you please let me know what was the problem because i face the same problem..what was the error whihc you rectified in your dialplan

PostPosted: Sat Jun 05, 2010 10:19 am
by kevincyrus
check your sip account setting i can help you can you tell me which country r u dialing for ..

PostPosted: Sat Jun 05, 2010 4:19 pm
by sunnymannava
i am dialing for us & canada.ryt now i am able to dial manually from web but not Predictive.i will post my cli and conf...

register =>05259xxxx:password@202.71.134.13:5060

[SIPtrunk]
type=friend
username=05259xxxx
fromuser=05259xxxx
secret=password
host=202.71.134.13
fromdomain=202.71.134.13
dtmfmode=rfc2833
callerid=05259xxxx
allow=g729

exten => _1XXXXXXXX.,1,AGI(call_log.agi,${EXTEN})
exten => _1XXXXXXXX.,2,Dial(SIP/${EXTEN}@SIPtrunk,55,o)
exten => _1XXXXXXXX.,3,Hangup

asterisk -r cli:

when dialing manually i have no probz

[Jun 5 17:18:06] -- Executing MeetMe("Local/8600051@default-0ba8,2", "8600051|F") in new stack
[Jun 5 17:18:06] > Channel Local/8600051@default-0ba8,1 was answered.
[Jun 5 17:18:06] -- Executing AGI("Local/8600051@default-0ba8,1", "call_log.agi|17802440211") in new stack
[Jun 5 17:18:06] -- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
[Jun 5 17:18:06] -- AGI Script call_log.agi completed, returning 0
[Jun 5 17:18:06] -- Executing Dial("Local/8600051@default-0ba8,1", "SIP/17802440211@SIPtrunk|55|o") in new stack
[Jun 5 17:18:06] -- Called 17802440211@SIPtrunk


but when i am trying for predictive i am not able to place calls and no messages

PostPosted: Sun Jun 06, 2010 1:20 pm
by williamconley
when you post, please post your entire configuration including (but not limited to) your installation method, vicidial version and build, asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box.

Similar to This:
Vicibox X.X from .iso | Vicidial X.X.X Build XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation

this IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

i note that you posted some of your cli ... but you stopped at "Called". what happened after you called? Did someone answer? was the call rejected?

PostPosted: Mon Jun 07, 2010 1:34 pm
by kevincyrus
try this

[NWS-outbound]
type=friend
dtmfmode=auto
host=xxx.xxx.xx.xx
context=outbound
username=xxxxxxxx
fromuser=xxxxxxxxx
trustrpid=yes
sendrpid=yes
secret=xxxxx
disallow=all
allow=g729
nat=yes


Global String : SIPtrunk = SIP/NWS-outbound

Dialplan Entry:

exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,2,Dial(${SIPtrunk}/${EXTEN:1},,o)
exten => _91NXXNXXXXXX,3,Hangup

Let Me Know If this wORKS...