<div dir="ltr">Thanks Anthony. In my case the second one never executes, if written like below<br><br>====<br>&nbsp;&nbsp;&nbsp; &nbsp; &lt;extension name=&quot;liverpie_test&quot;&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;121&quot;&gt;<br>


&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;action application=&quot;socket&quot; data=&quot;<a href="http://127.0.0.1:8084/" target="_blank">127.0.0.1:8084</a>&quot; /&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/${voip}/${recepient}&quot; /&gt;<br>
<div dir="ltr"><div dir="ltr">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;/condition&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp; &lt;/extension&gt;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <br>====</div></div><br>same result, 2nd doesn&#39;t execute, if reverse like this<br><br>====<br>
&nbsp;&nbsp;&nbsp; &nbsp; &lt;extension name=&quot;liverpie_test&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;121&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/${voip}/${recepient}&quot; /&gt;<br>



&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;action application=&quot;socket&quot; data=&quot;<a href="http://127.0.0.1:8084/" target="_blank">127.0.0.1:8084</a>&quot; /&gt;<br>
<div dir="ltr"><div dir="ltr">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;/condition&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp; &lt;/extension&gt;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <br>====</div></div>
<br>Yes it works sequentially, if written like this.<br><br>====<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;extension name=&quot;bridge_test&quot; continue=&quot;true&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;121&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/${voip}/${recepient}&quot; /&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/extension&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
<br>&nbsp;&nbsp;&nbsp; &nbsp; &lt;extension name=&quot;liverpie_test&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;121&quot;&gt;<br>&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;action application=&quot;socket&quot; data=&quot;<a href="http://127.0.0.1:8084/" target="_blank">127.0.0.1:8084</a>&quot; /&gt;<br>


<div dir="ltr"><div dir="ltr">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;/condition&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp; &lt;/extension&gt;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <br>====</div></div>
<br>but the second got executed after hanging up the call. I want to capture the call events during call. How should I proceed with this.<br><br>Thanks.<br><br><div class="gmail_quote">On Wed, Sep 10, 2008 at 9:09 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.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;"><div dir="ltr">If the first app hangs up the cal then the 2nd one will never execute.<div><div>
</div><div class="Wj3C7c"><br><br><br><div class="gmail_quote">On Wed, Sep 10, 2008 at 3:55 AM, Adeel Ansari <span dir="ltr">&lt;<a href="mailto:adeel.gnome@gmail.com" target="_blank">adeel.gnome@gmail.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;"><div dir="ltr">Only the first application is working in both cases. How to proceed? Any idea.<div>

<div></div><div><br><br><div class="gmail_quote">On Wed, Sep 10, 2008 at 2:19 PM, Adeel Ansari <span dir="ltr">&lt;<a href="mailto:adeel.gnome@gmail.com" target="_blank">adeel.gnome@gmail.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;"><div dir="ltr">Hey, actually, none is work with me.<br><br><b>Not this</b><div>
<br>====<br>&nbsp;&nbsp;&nbsp; &nbsp; &lt;extension name=&quot;liverpie_test&quot; continue=&quot;true&quot;&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;121&quot;&gt;<br>

&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;action application=&quot;socket&quot; data=&quot;<a href="http://127.0.0.1:8084/" target="_blank">127.0.0.1:8084</a>&quot; /&gt;<br></div>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;action application=&quot;java&quot; data=&quot;/home/programs/freeswitch/scripts/freeswitch.jar net.fs.CallTest&quot;/&gt;<br>



<div dir="ltr">
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;/condition&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp; &lt;/extension&gt;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <br>====<br clear="all"></div><br><b>Nor this</b><div><br>====<br>
&nbsp;&nbsp;&nbsp; &nbsp; &lt;extension name=&quot;liverpie_test&quot; continue=&quot;true&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;121&quot;&gt;<br>

&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;action application=&quot;socket&quot; data=&quot;<a href="http://127.0.0.1:8084/" target="_blank">127.0.0.1:8084</a>&quot; /&gt;<br>
</div><div dir="ltr"><div>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;/condition&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp; &lt;/extension&gt;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <br><br>&nbsp;&nbsp;&nbsp; &nbsp; &lt;extension name=&quot;java_test&quot;&gt;<br>

&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;121&quot;&gt;<br></div>


&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;action application=&quot;java&quot; data=&quot;/home/programs/freeswitch/scripts/freeswitch.jar net.fs.CallTest&quot;/&gt;<br>

<div dir="ltr">
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;/condition&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp; &lt;/extension&gt;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <br></div>====<br clear="all"></div>
<br>Whatever comes first, works. Anyone tell me, how I should go about it. I need to invoke both application on a single call. Thanks.<div><div></div><div><br><br><br><div class="gmail_quote">On Wed, Sep 10, 2008 at 12:34 PM, Adeel Ansari <span dir="ltr">&lt;<a href="mailto:adeel.gnome@gmail.com" target="_blank">adeel.gnome@gmail.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;"><div dir="ltr">So, it means we can run it like simultaneously. It was not working with me, actually. Liverpie was not sending anything to my web app, when run the thing in the former way. However, running it in a sequence is fine with me. <br>




<br>Need to ask one more thing. How about if we swap both application configuration in former dialplan. I mean if we put <i>java</i> first and <i>socket</i> later, does it create any difference? Are you getting me?<br><br>




Thanks.<div><div></div><div><br><br><div class="gmail_quote">On Wed, Sep 10, 2008 at 12:04 PM, Brian West <span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</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;">
<div>Depends are you wanting them to run at the same time? &nbsp;Or one after the other?<div><br></div><div>/b</div><div><br><div><div><div></div><div><div>On Sep 9, 2008, at 10:58 PM, Adeel Ansari wrote:</div>
<br></div></div><blockquote type="cite"><div><div></div><div><div dir="ltr">Or should we do this in two, like this.<br><br>====<br>&nbsp;&nbsp;&nbsp; &nbsp; &lt;extension name=&quot;liverpie_test&quot; continue=&quot;true&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;121&quot;&gt;<br> &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;action application=&quot;socket&quot; data=&quot;<a href="http://127.0.0.1:8084/" target="_blank">127.0.0.1:8084</a>&quot; /&gt;<br>




<div dir="ltr">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;/condition&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp; &lt;/extension&gt;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <br> <br>&nbsp;&nbsp;&nbsp; &nbsp; &lt;extension name=&quot;java_test&quot;&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;121&quot;&gt;<br>




&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;action application=&quot;java&quot; data=&quot;/home/programs/freeswitch/scripts/freeswitch.jar apps.freeswitch.CallTest&quot;/&gt;<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;/condition&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp; &lt;/extension&gt;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <br>




 <br>====<br clear="all"></div><br><br><div class="gmail_quote">On Wed, Sep 10, 2008 at 11:47 AM, Adeel Ansari <span dir="ltr">&lt;<a href="mailto:adeel.gnome@gmail.com" target="_blank">adeel.gnome@gmail.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;"> <div dir="ltr">Hi folks,<br><br>Can&#39;t we run both applications with one dialplan? Like this.<br>




<br>====<br>&nbsp;&nbsp;&nbsp; &nbsp; &lt;extension name=&quot;liverpie_test&quot; continue=&quot;true&quot;&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;121&quot;&gt;<br> &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;action application=&quot;socket&quot; data=&quot;<a href="http://127.0.0.1:8084" target="_blank">127.0.0.1:8084</a>&quot; /&gt;<br>




&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;action application=&quot;java&quot; data=&quot;/home/adeel/programs/freeswitch/scripts/freeswitch.jar net.digitalapps.freeswitch.CallTest&quot;/&gt;<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;/condition&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp; &lt;/extension&gt;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <br>




====<br clear="all"><br>Thanks.<br><br>-- <br>Best,<br>Adeel Ansari<br><br><a href="http://www.linkedin.com/in/adeelansari" target="_blank">http://www.linkedin.com/in/adeelansari</a><br> </div> </blockquote></div><br><br clear="all">




<br>-- <br>Best,<br>Adeel Ansari<br><br><a href="http://www.linkedin.com/in/adeelansari" target="_blank">http://www.linkedin.com/in/adeelansari</a><br> </div></div></div> _______________________________________________<br>




Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">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><font color="#888888"><br><div> <span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>




<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>




<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>




<div>Brian West</div><div><a>sip:brian@freeswitch.org</a></div><div><br></div><div><br></div></div></span><br></div></span><br></div></span><br> </div><br></font></div></div><br>_______________________________________________<br>





Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Best,<br>Adeel Ansari<br><br><a href="http://www.linkedin.com/in/adeelansari" target="_blank">http://www.linkedin.com/in/adeelansari</a><br>
</div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Best,<br>Adeel Ansari<br><br><a href="http://www.linkedin.com/in/adeelansari" target="_blank">http://www.linkedin.com/in/adeelansari</a><br>
</div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Best,<br>Adeel Ansari<br><br><a href="http://www.linkedin.com/in/adeelansari" target="_blank">http://www.linkedin.com/in/adeelansari</a><br>
</div></div></div>
<br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">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>
<br></blockquote></div><br><br clear="all"><br></div></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>

<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>

IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
</div>
<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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Best,<br>Adeel Ansari<br><br><a href="http://www.linkedin.com/in/adeelansari">http://www.linkedin.com/in/adeelansari</a><br>
</div>