Page 1 of 1

Dial Plan Problem (Cannot Dial Toll Free Number)

PostPosted: Thu Sep 10, 2009 8:44 am
by zeroche_rodriguez
Anyone can help us with our problem? We can't make a call to a Toll Free Number.

Here is our Dial Plan

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


Thanks in advance.



ViciDialNOW: 2.0.5

PostPosted: Thu Sep 10, 2009 9:15 pm
by mflorell
Asterisk CLI output when you try to place a toll free call?

PostPosted: Fri Sep 11, 2009 8:14 am
by zeroche_rodriguez
Hi Matt,

Here's the CLI when i place a toll free number.

thanks in advance matt.

Asterisk 1.2.30.2, Copyright (C) 1999 - 2007 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'show license' for details.
=========================================================================
Connected to Asterisk 1.2.30.2 currently running on vici (pid = 3009)
Verbosity is at least 21
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
-- Registered SIP 'cc131' at 192.168.1.131 port 36580 expires 3600
-- Saved useragent "eyeBeam release 1102q stamp 51814" for peer cc131
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
> Channel SIP/cc131-09763770 was answered.
-- Executing MeetMe("SIP/cc131-09763770", "8600051|F") in new stack
== Parsing '/etc/asterisk/meetme.conf': Found
-- Created MeetMe conference 1023 for conference '8600051'
-- Playing 'conf-onlyperson' (language 'en')
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing MeetMe("Local/8600051@default-5cb5,2", "8600051|F") in new stac
k
> Channel Local/8600051@default-5cb5,1 was answered.
-- Executing AGI("Local/8600051@default-5cb5,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-5cb5,1", "SIP/NOVATEL/1972186626264
52|55|To") in new stack
-- Called NOVATEL/197218662626452
Sep 11 06:11:56 WARNING[3119]: chan_sip.c:9890 handle_response_invite: Forbidden
- wrong password on authentication for INVITE to '"M0911061155000038133" <sip:0
000000000@202.57.46.210>;tag=as7aa03360'
-- SIP/NOVATEL-0976f158 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing Hangup("Local/8600051@default-5cb5,1", "") in new stack
== Spawn extension (default, 918662626452, 3) exited non-zero on 'Local/860005
1@default-5cb5,1'
-- Executing DeadAGI("Local/8600051@default-5cb5,1", "agi://127.0.0.1:4577/c
all_log--HVcauses--PRI-----NODEBUG-----21-----CONGESTION----------") in new stac
k
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----2
1-----CONGESTION---------- completed, returning 0
== Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@def
ault-5cb5,2'
-- Executing DeadAGI("Local/8600051@default-5cb5,2", "agi://127.0.0.1:4577/c
all_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----0
--------------- completed, returning 0
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing MeetMe("Local/58600051@default-e0be,2", "8600051|Fmq") in new s
tack
> Channel Local/58600051@default-e0be,1 was answered.
-- Executing Answer("Local/58600051@default-e0be,1", "") in new stack
-- Executing Monitor("Local/58600051@default-e0be,1", "wav|admin_8662626452_
DMS_20090911-061155") in new stack
-- Executing Wait("Local/58600051@default-e0be,1", "3600") in new stack
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing MeetMeAdmin("Local/55558600051@default-d22a,2", "8600051|K") in
new stack
== Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/cc131-0976377
0'
-- Executing Hangup("Local/55558600051@default-d22a,2", "") in new stack
== Spawn extension (default, 55558600051, 2) exited non-zero on 'Local/5555860
0051@default-d22a,2'
-- Executing DeadAGI("Local/55558600051@default-d22a,2", "agi://127.0.0.1:45
77/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
-- Executing DeadAGI("SIP/cc131-09763770", "agi://127.0.0.1:4577/call_log--H
Vcauses--PRI-----NODEBUG-----16---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----1
6--------------- completed, returning 0
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----1
6--------------- completed, returning 0
-- Playing 'conf-kicked' (language 'en')
-- Hungup 'Zap/pseudo-2107190004'
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
-- Unregistered SIP 'cc131'
-- Timeout on Local/58600051@default-e0be,2
== CDR updated on Local/58600051@default-e0be,2
-- Executing Goto("Local/58600051@default-e0be,2", "#|1") in new stack
-- Goto (default,#,1)
-- Executing Playback("Local/58600051@default-e0be,2", "invalid") in new sta
ck
-- Playing 'invalid' (language 'en')
-- Executing Hangup("Local/58600051@default-e0be,2", "") in new stack
== Spawn extension (default, #, 2) exited non-zero on 'Local/58600051@default-
e0be,2'
-- Executing DeadAGI("Local/58600051@default-e0be,2", "agi://127.0.0.1:4577/
call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----1
6--------------- completed, returning 0
== Spawn extension (default, 8309, 3) exited non-zero on 'Local/58600051@defau
lt-e0be,1'
-- Executing DeadAGI("Local/58600051@default-e0be,1", "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 ... EBUG-----0
--------------- completed, returning 0
vici*CLI>

PostPosted: Fri Sep 11, 2009 5:59 pm
by mflorell
Wrong password:

-- Called NOVATEL/197218662626452
Sep 11 06:11:56 WARNING[3119]: chan_sip.c:9890 handle_response_invite: Forbidden
- wrong password on authentication for INVITE to '"M0911061155000038133" <sip:0
000000000@202.57.46.210>;tag=as7aa03360'
-- SIP/NOVATEL-0976f158 is circuit-busy

PostPosted: Sat Sep 12, 2009 3:43 pm
by Op3r
also if you are using novatel.

You need to be sending a callerid when dialing an 800 number. If you set it on the vicidial campaign manager, use vicidial agent interface to call that number otherwise when you manual dial it using a softphone it wont go through unless you created a dialplan for manual dialing using a softphone with setcallerid on it.

PostPosted: Mon Sep 14, 2009 8:31 am
by zeroche_rodriguez
@Matt

Sir do we need authentication from our provider?

_______________________________________________________
@Op3r,

We are using the vicidialnow interface to call Toll Free Numbers.
and Here is our Dial Plan (extensions.conf)

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


Thanks sir for the respose.

PostPosted: Mon Sep 14, 2009 9:50 am
by Op3r
Sep 11 06:11:56 WARNING[3119]: chan_sip.c:9890 handle_response_invite: Forbidden
- wrong password on authentication for INVITE to '"M0911061155000038133" <sip:0
000000000@202.57.46.210>;tag=as7aa03360'


No you're not sending callerid.

Check your campaign manager if you set one up.

PostPosted: Mon Sep 14, 2009 9:57 am
by zeroche_rodriguez
@ Op3r

Sir,

Sorry but im a newbie in vicidial. Can you give me an example regarding to that problem.


Thanks in advance.

PostPosted: Mon Sep 14, 2009 10:30 am
by Op3r
it means go to the campaign detail and set up the caller ID

PostPosted: Mon Sep 14, 2009 11:11 am
by zeroche_rodriguez
@Op3r

Sir,

The Campaign CallerID that i see in the campaign is 0000000000. Is it the default value? or should i change it. Thanks.

PostPosted: Mon Sep 14, 2009 11:54 am
by gardo
Change it. You need to have a valid callerid as per FTC regulations.

PostPosted: Mon Sep 14, 2009 12:08 pm
by zeroche_rodriguez
@ gardo

Sir,

But our VOIP provider only give their IP address for the outbound call. They didn't give any callerID.

Thanks for the reply.