[asterisk-users] need dialout help in python script

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Aug 8 15:58:50 MST 2006


On Wed, Aug 02, 2006 at 05:00:29PM -0500, shawn bright wrote:
> Lo there,
> 
>    i have an app that needs to initiate a phone call on a zap channel.
> i have been able to test it out ok with the method of dropping a call file
> into the /var/spool/asterisk/outgoing and specifing the phone number in the
> call file.
> 
>    what i need to do, however, is initiate a phone call from a python
> script.
> i need to pass asterisk the phone number and then a couple of files to play.
> if anyone can tell me how to pull this off, or could post a link to some
> good doc or how-to,
> i would greatly appreciate it.

Simpler solution: use a call file. embed the file namesin either the
extension number or any othr field.

-- 
Tzafrir Cohen         sip:tzafrir at local.xorcom.com
icq#16849755          iax:tzafrir at local.xorcom.com
+972-50-7952406          jabber:tzafrir at jabber.org
tzafrir.cohen at xorcom.com     http://www.xorcom.com



More information about the asterisk-users mailing list