Page 1 of 1

dialplan

PostPosted: Sun Sep 06, 2009 12:49 am
by eliasferreyra
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

PostPosted: Sun Sep 06, 2009 8:53 pm
by Op3r
ask your provider what number does they throw you.

hello

PostPosted: Sun Sep 06, 2009 9:24 pm
by eliasferreyra
this one
8664667222

PostPosted: Mon Sep 07, 2009 5:02 am
by oshonubi
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?

PostPosted: Tue Sep 08, 2009 3:12 am
by heinz
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

PostPosted: Tue Sep 08, 2009 6:26 am
by mflorell
Please post the Asterisk CLI output when you call in using this DID.

yeah

PostPosted: Tue Sep 08, 2009 6:52 am
by eliasferreyra
yeah heinz it doesnt works by the web
i just set it by the asterisk console

PostPosted: Tue Sep 08, 2009 7:51 am
by heinz
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?

PostPosted: Tue Sep 08, 2009 8:51 am
by oshonubi
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.

PostPosted: Tue Sep 08, 2009 9:15 am
by scottgutman
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)

PostPosted: Tue Sep 08, 2009 9:58 am
by oshonubi
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.

PostPosted: Tue Sep 08, 2009 12:51 pm
by scottgutman
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.

SMS and VoIP Services for Vicidial

PostPosted: Tue Sep 08, 2009 1:38 pm
by oshonubi
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

PostPosted: Tue Sep 08, 2009 10:37 pm
by scottgutman
I think you should open a new topic for that question.

PostPosted: Wed Sep 09, 2009 3:20 am
by oshonubi
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