regardless of what you execute, if the execute is over and the call has not been hungup by the app<br>it's considered success. So you should be able to do a python script as well just be sure to hangup on anything that does not meet the criteria.<br>
<br><br><div class="gmail_quote">On Mon, Jan 19, 2009 at 6:20 PM, Brian Deacon <span dir="ltr"><<a href="mailto:bdeacon@highergear.com">bdeacon@highergear.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Greetings my soon-to-be-BFF's :)<br>
<br>
After the last 6 weeks or so thrashing about in the land of Asterisk, I<br>
must say I'm quite impressed with what I'm learning about FreeSwitch.<br>
<br>
So the scenario I'm trying to deal with is bridging a call between two<br>
not-internal endpoints where the numbers to connect are determined by<br>
database-fed business logic.<br>
<br>
The recipe here is very close to what I need:<br>
<a href="http://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate#exec_in_answer_confirm" target="_blank">http://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate#exec_in_answer_confirm</a><br>
<br>
Except that I'm a language snob and would greatly prefer python to<br>
javascript. :)<br>
<br>
So my minor question is can this line:<br>
<action application="set" data="group_confirm_file=javascript test.js"/><br>
Become this line:<br>
<action application="set" data="group_confirm_file=python foo.bar.baz"/><br>
<br>
But javascript isn't a deal-breaker. I have two bridging scenarios that<br>
were too tricky for me in asterisk land. (And my apologies, I'm new to<br>
telephony, so I don't have the lingo down). Our FS server would be<br>
reachable by multiple 800 numbers. Based on the number that was dialed<br>
to reach our FS server, we would look up an external phone number +<br>
extension to be part 1 of a bridge (which we would use the<br>
group_confirm_file script to make sure we had gotten past the IVR). So<br>
for that scenario, how would I accomplish something like:<br>
<action application="bridge" data="<br>
${someVariableSetByScript}"/><br>
Can my foo.bar.baz script make a session.setVariable call that I could<br>
drop into data=""?<br>
<br>
My other scenario is similar, but we need to externally signal the FS<br>
server to place a call to phone + extension, confirm it was connected,<br>
and then bridge it to a DID. Is XmlRpc the best (only?) way to poke FS<br>
into doing something?<br>
<br>
Thanks muchly!<br>
<br>
Brian<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>