That dials my extension (104) and plays the message. But I can’t figure out how to make it dial an external number.
I’ve tried using “Channel: SIP/5551112222#” but that doesn’t work. I also tried “Channel: my_trunk_name/5551112222”. I get “Unable to request channel my_trunk_name/5551112222” in the log file.
Also I need to tell it to go through a specific trunk, if possible. Thanks for any help.
mbruni that worked great, thank you for your help.
Is it possble to run more than one Application from a .call file? I need to capture what happened with the call and update a database with that information. I was going to use System() or something similar to send the data to a perl script which would then insert it into a database. But I have found that I can only run one Application command.
But in my testing, when I dial extension 601 I get a message that its not a valid extension. I wasn’t sure what context to put it under, so I just used ext-local which is the one I see is used for my regular extensions in extensions_additional.conf.
Sound like you have a context problem. Not sure without more debug output but sounds like the phone you are calling from can not see the context you are dialing.
Sorry I do not know much about Trixbox/FreePBX. Perhaps other can help.