regardless of what you execute, if the execute is over and the call has not been hungup by the app<br>it&#39;s considered success.&nbsp; 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">&lt;<a href="mailto:bdeacon@highergear.com">bdeacon@highergear.com</a>&gt;</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&#39;s &nbsp;:)<br>
<br>
After the last 6 weeks or so thrashing about in the land of Asterisk, I<br>
must say I&#39;m quite impressed with what I&#39;m learning about FreeSwitch.<br>
<br>
So the scenario I&#39;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&#39;m a language snob and would greatly prefer python to<br>
javascript. &nbsp;:)<br>
<br>
So my minor question is can this line:<br>
&lt;action application=&quot;set&quot; data=&quot;group_confirm_file=javascript test.js&quot;/&gt;<br>
Become this line:<br>
&lt;action application=&quot;set&quot; data=&quot;group_confirm_file=python foo.bar.baz&quot;/&gt;<br>
<br>
But javascript isn&#39;t a deal-breaker. &nbsp;I have two bridging scenarios that<br>
were too tricky for me in asterisk land. &nbsp;(And my apologies, I&#39;m new to<br>
telephony, so I don&#39;t have the lingo down). &nbsp;Our FS server would be<br>
reachable by multiple 800 numbers. &nbsp;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). &nbsp;So<br>
for that scenario, how would I accomplish something like:<br>
&lt;action application=&quot;bridge&quot; data=&quot;<br>
${someVariableSetByScript}&quot;/&gt;<br>
Can my foo.bar.baz script make a session.setVariable call that I could<br>
drop into data=&quot;&quot;?<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. &nbsp;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>