[Freeswitch-users] howto originate fs call from webapp (python)

Rupa Schomaker (lists) freeswitch-users at lists.rupa.com
Tue Feb 24 13:28:05 PST 2009


> my first approach was to call via xml_rpc like described in the wiki
> but when i call like
> 
> server.freeswitch.api("originate","sofia/gategay/gateway1/{number1}
> &bridge(sofia/gateway/gateway2/{number2})")
> 
> but in this case both numbers are called in parallel and the first
> number to pick up gets a ringback tone until the other number picks
> up. how can i get the sequence described above?
> 
> thanks for your help alex

You are probably getting early media when dialing number 1.  Try :

 server.freeswitch.api("originate","{ignore_early_media=true}sofia/gategay/gateway1/{number1}
 &bridge(sofia/gateway/gateway2/{number2})")





More information about the FreeSWITCH-users mailing list