[Freeswitch-users] Originate with python ESL

Peter Olsson peter.olsson at visionutveckling.se
Mon Jul 23 01:49:43 MSD 2012


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!
> 



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list