dialplan

All installation and configuration problems and questions

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

dialplan

Postby eliasferreyra » Sun Sep 06, 2009 12:49 am

hello
how can i use numbers inteast of variable s

this work fine
exten => s,1,Answer ; Answer the line
exten => s,2,AGI(agi-VDAD_ALL_inbound.agi,CID-----LB-----SALESLINE-----8664667222-----Closer-----park----------999-----1-----OUTB)
exten => s,3,Hangup

but this not

#exten => 8664667222,1,Answer ; Answer the line
#exten => 8664667222,2,AGI(agi-VDAD_ALL_inbound.agi,CID-----LB-----SALESLINE-----8664667222-----Closer-----park----------999-----1-----OUTB)
#exten => 8664667222,3,Hangup

why

i need use by numbers because the s variable take all inbound numbers and i need to use differents number to diffrerents IN_GROUPS
“Better to remain silent and be thought a fool than to speak out and remove all doubt.”
-Abraham Lincoln
eliasferreyra
 
Posts: 367
Joined: Wed Jul 18, 2007 3:27 pm

Postby Op3r » Sun Sep 06, 2009 8:53 pm

ask your provider what number does they throw you.
Get paid for US outbound Toll Free calls. PM me. visit https://stopmanualdial.com for vicidial services.
Op3r
 
Posts: 1432
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

hello

Postby eliasferreyra » Sun Sep 06, 2009 9:24 pm

this one
8664667222
“Better to remain silent and be thought a fool than to speak out and remove all doubt.”
-Abraham Lincoln
eliasferreyra
 
Posts: 367
Joined: Wed Jul 18, 2007 3:27 pm

Postby oshonubi » Mon Sep 07, 2009 5:02 am

Hello,

Based on this thread, I believe that what you are trying to do is the back end of the DID. From all indications, it seems the DID is not working on the front end. Please confirm. Is there any modification we need to do at the back end to let the DID to work?
Vicidial Scratch Install
Rocky Linux 9.2
PHP 8.0
Asterisk 16.17.0-vici
Dahdi 3.2
oshonubi
 
Posts: 169
Joined: Mon Jun 15, 2009 8:36 am
Location: Lagos, Nigeria

Postby heinz » Tue Sep 08, 2009 3:12 am

Hi,
same problem here.
I've got two different DIDs coming from my SIP provider. I tried to configure both via the GUI - but it doesn't seem to work at all.
My settings are:
DID Extension: my extension
Active: Y
DID Route: EXTEN
Extension: 1414
Extension Context: test
Nothing happens on the CLI on a incoming call.
The only way for me to receive incoming calls is to create a rule with the s-extension in extensions.conf - but this way I can't distinguish between the different DIDs.
Am I missing something?
Thanks,
heinz

VICIDIALNOW 1.2
heinz
 
Posts: 106
Joined: Mon Oct 08, 2007 1:30 am
Location: South Africa

Postby mflorell » Tue Sep 08, 2009 6:26 am

Please post the Asterisk CLI output when you call in using this DID.
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

yeah

Postby eliasferreyra » Tue Sep 08, 2009 6:52 am

yeah heinz it doesnt works by the web
i just set it by the asterisk console
“Better to remain silent and be thought a fool than to speak out and remove all doubt.”
-Abraham Lincoln
eliasferreyra
 
Posts: 367
Joined: Wed Jul 18, 2007 3:27 pm

Postby heinz » Tue Sep 08, 2009 7:51 am

Hi Matt,
if I configure the DID through the GUI I don't get any CLI output.
Is there a way to check if asterisk could load the config from the DB?
heinz
 
Posts: 106
Joined: Mon Oct 08, 2007 1:30 am
Location: South Africa

Postby oshonubi » Tue Sep 08, 2009 8:51 am

Hi All,

I think the same are my observations. From all indications, it seems the front end configuration of the DID is not working. This will mean a lot of challenges to future modifications of existing installation. This is because modify the in-group data for Vicidial to take incoming call will require reconfiguration which has to be done at the back end.

I also agreed with Heinz that you cannot distinguish the DIDs as the DID numbers are not accepted in the extensions.conf. All you will get is that it is not a valid extension.

Will like to confirm if these observations are right.
Vicidial Scratch Install
Rocky Linux 9.2
PHP 8.0
Asterisk 16.17.0-vici
Dahdi 3.2
oshonubi
 
Posts: 169
Joined: Mon Jun 15, 2009 8:36 am
Location: Lagos, Nigeria

Postby scottgutman » Tue Sep 08, 2009 9:15 am

Assuming you have SIP trunking, some SIP output to see what the vendor is sending might help.

To get CLI output with asterisk 1.2:
1. Start putty and set log file: Click Session-->Logging-->Printable Output-->Browse and choose where to save the log file.
2. Open the connection to the asterisk box and log in.
3. start the asterisk console: <path>/asterisk -vvvvvvvvvvvvvvvvvvvvr
The next few steps should be done very quickly and NO ACTIVITY on the system or you will have lot 'O output
4. type sip debug
5. Make a call into your asterisk server.
6. type sip no debug.
7. type exit
Assuming your MySQL server is on the same computer.
8. log into your MySQL server: mysql -p -u<vicidial_mysql_user> --> enter password.
9. type use asterisk; (replace asterisk with your db name)
10. type select * from vicidial_inbound_dids;
11. type quit;
12. Close putty and open the log file from step 1.
13. look though the sip gobbledygook and see what he vendor is sending for your DID.

My vendor puts a 1+<Phonenumber> for my DID.

For asterisk 1.4 use sip set debug and sip set debug off

If you still can find it, post the relevant sections of the log(the whole thing is very long)
Dialer-Vicidial 2.2.0-250_100116-0709, Asterisk 1.4.21.2, Intel Quad Q6600 2.4G x64/8G Ram
Web-Apache/2.2.3, PHP 5.2.10, eAccelerator v0.9.5.2, AMD 9950 Quad 2.6G x64/4G Ram
DB-MySQL 5.0.45, 2xAMD 2.6G i386/4G Ram
OS-CentOS 5.3-2.6.18-128.1.16.el5
scottgutman
 
Posts: 75
Joined: Mon Mar 23, 2009 4:17 pm

Postby oshonubi » Tue Sep 08, 2009 9:58 am

Thanks for the response. I hope this will help in resolving the DID issue. In my case, I am using Zap. What is the command? Something like zap debug?
Once again thanks for the response.
Vicidial Scratch Install
Rocky Linux 9.2
PHP 8.0
Asterisk 16.17.0-vici
Dahdi 3.2
oshonubi
 
Posts: 169
Joined: Mon Jun 15, 2009 8:36 am
Location: Lagos, Nigeria

Postby scottgutman » Tue Sep 08, 2009 12:51 pm

I don't know if zap has a debug, but do everything except the sip and look/post the results of your call from the cli and sql output.
Dialer-Vicidial 2.2.0-250_100116-0709, Asterisk 1.4.21.2, Intel Quad Q6600 2.4G x64/8G Ram
Web-Apache/2.2.3, PHP 5.2.10, eAccelerator v0.9.5.2, AMD 9950 Quad 2.6G x64/4G Ram
DB-MySQL 5.0.45, 2xAMD 2.6G i386/4G Ram
OS-CentOS 5.3-2.6.18-128.1.16.el5
scottgutman
 
Posts: 75
Joined: Mon Mar 23, 2009 4:17 pm

SMS and VoIP Services for Vicidial

Postby oshonubi » Tue Sep 08, 2009 1:38 pm

Hello All,

Kindly let me know if there is anyone running Vicidial with SMS service or if there is any provider that has a clean API that can easily integrate with Vicidial.

In addition, would like to know any community member that runs a VoIP service. The VoIP provider should have a competitive termination cost.

The idea is simple, with Vicidial on my Zap interface, we would like to make outbound calls through VoIP and at the same time send SMS to the leads in various campaign leads.

Thanks
Vicidial Scratch Install
Rocky Linux 9.2
PHP 8.0
Asterisk 16.17.0-vici
Dahdi 3.2
oshonubi
 
Posts: 169
Joined: Mon Jun 15, 2009 8:36 am
Location: Lagos, Nigeria

Postby scottgutman » Tue Sep 08, 2009 10:37 pm

I think you should open a new topic for that question.
Dialer-Vicidial 2.2.0-250_100116-0709, Asterisk 1.4.21.2, Intel Quad Q6600 2.4G x64/8G Ram
Web-Apache/2.2.3, PHP 5.2.10, eAccelerator v0.9.5.2, AMD 9950 Quad 2.6G x64/4G Ram
DB-MySQL 5.0.45, 2xAMD 2.6G i386/4G Ram
OS-CentOS 5.3-2.6.18-128.1.16.el5
scottgutman
 
Posts: 75
Joined: Mon Mar 23, 2009 4:17 pm

Postby oshonubi » Wed Sep 09, 2009 3:20 am

Hi All,

Accept my apologies. I thought I did. Maybe because I was replying more that one mail to the community at a time.

Will do just that now
Vicidial Scratch Install
Rocky Linux 9.2
PHP 8.0
Asterisk 16.17.0-vici
Dahdi 3.2
oshonubi
 
Posts: 169
Joined: Mon Jun 15, 2009 8:36 am
Location: Lagos, Nigeria


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 99 guests