Forum Replies Created
-
I have spoken to our SIP trunk providers here in Australia and it seems that we can’t change the outgoing caller ID. I have been told (but this may be incorrect) that this is a problem with how the Australian Telecommunications Law works. If anyone knows differently, please feel free to post.
Ken
Thats *usually* the exception rather than the rule with SIP providers, but not always. I use 3 different providers and they all allow me to pass the CID I want transmitted, either setting it in Freepbx or using the VDP CID set. As a matter of fact, 2 of the 3 trunk providers I use basically rely on you to pass the CID to them via your pbx. Only one I use has an area within their control panel to let you set a CID in case the device you are using (usually a SIP phone or ATA) doesn’t pass their own (at least that I’ve ever seen!). Can you upload the code you are trying to use and I can take a look and at least validate if it’s changing CID on my test system to help troubleshoot?
Kevin
I have a SIP trunk setup and defined but the incoming and outbound routes are all handled/created by VDP.
I have read “on the net” that some telcos/providers don’t allow overriding CID? May this be the problem?
Do you have a default trunk/outbound route or extension CID defined in FreePBX? That may be overriding the VDP set code.
I am using FreePBX 2.10.1.2 with asterisk 1.8 using SIP trunks only.
What distribution are you using? What Asterisk/FreePBX versions?
Kevin
Here is one very useful tutorial:
http://www.apstel.com/visual-dialplan-tutorials/how-to-work-with-elastix-etc/You will find all you need there.
Best,
Nik-
This reply was modified 10 years, 6 months ago by
admin.
Uf, why so complicated… just deploy the dial plan and set DID (number) in the Extension block (start/first block in the dial plan) and it will work.
Visual Dialplan will hook in all context and ‘connect’ it with FreePBX, there is no need to make/change incoming routes, IVRs etc.
In this tutorial you will find much more details and instructions about this:
http://www.apstel.com/visual-dialplan-tutorials/how-to-work-with-elastix-etc/— Mark
-
This reply was modified 10 years, 6 months ago by
admin.
Hi Raman,
The script was missing from the vdp-outbound context, I copied it to their and it worked fine!
Chris
Hello Chris and welcome to the forum 🙂
What version of FreePBX do you use?
Also, have you tried hello-world sample for FreePBX?Raman
Senshi,
If I’m reading what you are requesting correctly, I think you will get more benefit from using Visual Dialplan Elastix edition than from Visual Dialplan.
Visual Dialplan Elastix edition is better integrated and optimized to work with Elastix server.
There is a “Set destination on Visual Dialplan context Exit:” option in VDP elastix edition where you can select
destination on VDP context exit. Here you may specify Extensions, IVR, Trunks, Terminate call option and much more.
So, in this way you may continue the call flow execution on the selected destination after VDP context is finished.
There is a trial version that you may test.Raman
Robert,
You should contact directly apstel support to see if they can help you with this.
Raman
Thanks Raman.
Managed to get it working perfectly with your instructions.
Much appreciated.Ken
Ok, I will try to explain it in more details.
1)Create the following variables: “row${counter}”, “currentVar” (short from current variable) and “counter”.
2)At the beginning of the call flow set counter variable to 1 (counter=1).
3)In MySQL Fetch block under the Variables section select “currentVar”.
4)Connect green output port from MySQL Fetch block with this Set block Set(row${counter}=${currentVar}).
Now the counter needs to be increased, put another Set block Set(counter=${MATH(${counter}+1,i)}) and connect this block with MySQL Fetch block. This way you will create loop that creates new variable for every record from the database.Here is the call flow image http://imageshack.us/photo/my-images/521/pic1h.png/.(external link)
I hope this helps.
Raman
Thanks for the reply Raman.
I have spent the last 6 hours trying to make and use a dynamic variable but have had no luck.
I am from a programming background and I get exactly what you are saying but I can not work it out in Visual DialPlan.If you could spare some time to give some more in depth instructions I would much appreciate it.
Thanks in advance.
Ken -
This reply was modified 10 years, 6 months ago by