[Freeswitch-users] Originate with python ESL
James
jlyons at quikvoip.net
Mon Jul 23 02:10:55 MSD 2012
Yes, this same gw file has been functioning properly with a bash call to
fs_cli -x "originate sofia/gateway/mygateway/XXXXXXXXXX
&txfax(/tmp/fax.5661.tiff)"
I'm now trying to do this with python and ESL to be able to monitor
the result of the fax.
-James
On Sun, 22 Jul 2012 21:49:43 +0000
Peter Olsson <peter.olsson at visionutveckling.se> wrote:
> That should be enough. Are you sure the gateway is properly
> configured?
>
> /Peter
>
> 22 jul 2012 kl. 23:37 skrev "James" <jlyons at quikvoip.net>:
>
> >
> > I'm trying to do an originate command via python script and ESL. FS
> > attempts to make this call but is rejected by my gateway with a 407.
> > FS does not follow-up with an INVITE with the credentials. Is there
> > a variable I need to set in order to do this?
> >
> > Here's the originate I'm using:
> >
> > e = con.api("create_uuid").getBody()
> > res = con.bgapi("originate", "{origination_uuid=" + e +
> > ",fax_verbose=true,ignore_early_media=true}sofia/gateway/myprovider/XXXXXXXXXX
> > &txfax(/tmp/fax.5661.tiff)")
> >
> >
> > --
> > James Lyons
> > QuikVoIP, LLC.
> > p: +1 (786) 369-5308
> > e: jlyons at quikvoip.net
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> >
> >
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > Join Us At ClueCon - Aug 7-9, 2012
> >
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
> > !DSPAM:500c6f3f32761203936802!
> >
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list