yes please use our latest SVN trunk if you plan to report issues because our first questions always is &quot;can you reproduce this issue with our latest code&quot;  And please don&#39;t reply twice to the same email asking us to hurry up an answer you faster its only monday morning here.<br>
<br><br><br><div class="gmail_quote">On Mon, Nov 2, 2009 at 10:56 AM, DJB <span dir="ltr">&lt;<a href="mailto:djbinter@yahoo.com">djbinter@yahoo.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;">
Any suggestion from anyone please?<br>
<div class="im"><br>
Thank you,<br>
Dorn B<br>
<br>
<br>
----- Original Message ----<br>
</div><div class="im">From: DJB &lt;<a href="mailto:djbinter@yahoo.com">djbinter@yahoo.com</a>&gt;<br>
To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
</div><div><div></div><div class="h5">Sent: Fri, October 30, 2009 11:31:12 AM<br>
Subject: Re: [Freeswitch-users] Freeswitch in signaling path only<br>
<br>
Now i have as follows, but it&#39;s still the same result.  By the way, I am running:  FreeSWITCH Version 1.0.4 (exported)<br>
.<br>
.<br>
.<br>
session:execute(&quot;set&quot;,&quot;hangup_after_bridge=true&quot;)<br>
session:execute(&quot;set&quot;,&quot;continue_on_fail=true&quot;)<br>
session:execute(&quot;set&quot;,&quot;originate_timeout=2&quot;)<br>
session:execute(&quot;set&quot;,&quot;originate_retries=3&quot;)<br>
session:execute(&quot;set&quot;,&quot;progress_timeout=15&quot;)<br>
.<br>
.<br>
.<br>
while row do<br>
local gw_ip_address = row.gw_ip_address<br>
local cust_name = row.cust_name<br>
session:execute(&quot;set&quot;, &quot;accountcode=&quot; ..cust_name .. &quot;&quot;)<br>
session:execute(&quot;set&quot;,&quot;bypass_media=true&quot;)<br>
session:execute(&quot;bridge&quot;,&quot;sofia/external/&quot; .. called_num .. &quot;@XX.XX.XX.XX.146&quot;)<br>
session:execute(&quot;set&quot;,&quot;bypass_media=true&quot;)<br>
session:execute(&quot;bridge&quot;,&quot;sofia/external/&quot; .. called_num .. &quot;@XX.XX.XX.XX.105&quot;)<br>
-- Block for testing -- session:execute(&quot;bridge&quot;,&quot;sofia/external/&quot; .. called_num .. &quot;@&quot; .. gw_ip_address ..&quot;&quot;)<br>
row = cur:fetch (row, &quot;a&quot;)<br>
end<br>
<br>
Here is the debug for switch_ivr_originate.c:<br>
<br>
2009-10-30 11:09:52.877832 [DEBUG] switch_ivr_originate.c:63 (sofia/external/6463924215@XX.XX.XX.146) State Change CS_ROUTING -&gt; C<br>
S_CONSUME_MEDIA<br>
2009-10-30 11:09:53.17811 [DEBUG] switch_ivr_originate.c:2061 Originate Resulted in Success: [sofia/external/6463924215@XX.XX.XX.1<br>
46]<br>
2009-10-30 11:09:54.285453 [DEBUG] switch_ivr_originate.c:63 (sofia/external/6463924215@XX.XX.XX.105) State Change CS_ROUTING -&gt; C<br>
S_CONSUME_MEDIA<br>
2009-10-30 11:09:54.422426 [DEBUG] switch_ivr_originate.c:2061 Originate Resulted in Success: [sofia/external/6463924215@XX.XX.XX.<br>
105]<br>
2009-10-30 11:09:55.694761 [DEBUG] switch_ivr_originate.c:63 (sofia/external/6463924215@XX.XX.XX.146) State Change CS_ROUTING -&gt; C<br>
S_CONSUME_MEDIA<br>
2009-10-30 11:09:55.836036 [DEBUG] switch_ivr_originate.c:2061 Originate Resulted in Success: [sofia/external/6463924215@XX.XX.XX.<br>
146]<br>
2009-10-30 11:09:57.107697 [DEBUG] switch_ivr_originate.c:63 (sofia/external/6463924215@XX.XX.XX.105) State Change CS_ROUTING -&gt; C<br>
S_CONSUME_MEDIA<br>
2009-10-30 11:09:57.254664 [DEBUG] switch_ivr_originate.c:2061 Originate Resulted in Success: [sofia/external/6463924215@XX.XX.XX.<br>
105]<br>
2009-10-30 11:12:03.129097 [DEBUG] switch_ivr_originate.c:63 (sofia/external/6463924215@XX.XX.XX.146) State Change CS_ROUTING -&gt; C<br>
S_CONSUME_MEDIA<br>
2009-10-30 11:12:03.273055 [DEBUG] switch_ivr_originate.c:2061 Originate Resulted in Success: [sofia/external/6463924215@XX.XX.XX.<br>
146]<br>
2009-10-30 11:12:04.546410 [DEBUG] switch_ivr_originate.c:63 (sofia/external/6463924215@XX.XX.XX.105) State Change CS_ROUTING -&gt; C<br>
S_CONSUME_MEDIA<br>
2009-10-30 11:12:04.682661 [DEBUG] switch_ivr_originate.c:2061 Originate Resulted in Success: [sofia/external/6463924215@XX.XX.XX.<br>
105]<br>
2009-10-30 11:12:15.781701 [DEBUG] switch_ivr_originate.c:2138 Originate Resulted in Error Cause: 16 [NORMAL_CLEARING]<br>
2009-10-30 11:12:33.349162 [DEBUG] switch_ivr_originate.c:63 (sofia/external/6463924215@XX.XX.XX.146) State Change CS_ROUTING -&gt; C<br>
S_CONSUME_MEDIA<br>
2009-10-30 11:12:33.470989 [DEBUG] switch_ivr_originate.c:2061 Originate Resulted in Success: [sofia/external/6463924215@XX.XX.XX.<br>
146]<br>
2009-10-30 11:12:34.724641 [DEBUG] switch_ivr_originate.c:2138 Originate Resulted in Error Cause: 487 [ORIGINATOR_CANCEL]<br>
2009-10-30 11:12:34.730634 [DEBUG] switch_ivr_originate.c:2138 Originate Resulted in Error Cause: 487 [ORIGINATOR_CANCEL]<br>
2009-10-30 11:12:34.750637 [DEBUG] switch_ivr_originate.c:2138 Originate Resulted in Error Cause: 487 [ORIGINATOR_CANCEL]<br>
<br>
<br>
FIRST ROUTE: XX.XX.XX.146<br>
and I tried to failed the first route and it gave 500 back, then it goes to the next one.<br>
SECOND ROUTE:  XX.XX.XX.105<br>
<br>
<br>
Thank you,<br>
Dorn B.<br>
<br>
<br>
<br>
----- Original Message ----<br>
From: Chris Burns &lt;<a href="mailto:chris@cloudtel.com">chris@cloudtel.com</a>&gt;<br>
To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
Sent: Fri, October 30, 2009 10:00:01 AM<br>
Subject: Re: [Freeswitch-users] Freeswitch in signaling path only<br>
<br>
Do you have a debug level message from switch_ivr_originate.c in your log?<br>
&quot;Channel is already up, delaying proxy mode &#39;till both legs are answered.&quot;<br>
<br>
Set bypass_media b4 each bridge. It is unsetting on you and setting<br>
bypass_media_after_bridge because you already answered the channel running<br>
the lua script.<br>
<br>
On October 30, 2009 12:03:29 pm DJB wrote:<br>
&gt; I am wondering why I cannot do as condition#2.<br>
&gt;<br>
&gt; For Lua in dialplan, when I have the followings:<br>
&gt;<br>
&gt;<br>
&gt; --WORKING--<br>
&gt; (Condition#1)<br>
&gt; .<br>
&gt; .<br>
&gt; session:execute(&quot;set&quot;,&quot;bypass_media=true&quot;)<br>
&gt; session:execute(&quot;set&quot;,&quot;hangup_after_bridge=true&quot;)<br>
&gt; session:execute(&quot;set&quot;,&quot;continue_on_fail=true&quot;)<br>
&gt; .<br>
&gt; .<br>
&gt;  session:execute(&quot;bridge&quot;,&quot;sofia/external/&quot; .. called_num ..<br>
&gt; &quot;@<a href="http://1.1.1.1" target="_blank">1.1.1.1</a>|sofia/external/&quot; .. called_num .. &quot;@<a href="http://1.1.1.2" target="_blank">1.1.1.2</a>&quot;) .<br>
&gt; .<br>
&gt;<br>
&gt; --NOT WORKING--<br>
&gt; (Condition#2)<br>
&gt; Note:  FS tries to be in media path and send re-invite.<br>
&gt; .<br>
&gt; .<br>
&gt; session:execute(&quot;set&quot;,&quot;bypass_media=true&quot;)<br>
&gt; session:execute(&quot;set&quot;,&quot;hangup_after_bridge=true&quot;)<br>
&gt; session:execute(&quot;set&quot;,&quot;continue_on_fail=true&quot;)<br>
&gt; .<br>
&gt; .<br>
&gt;  session:execute(&quot;bridge&quot;,&quot;sofia/external/&quot; .. called_num .. &quot;@<a href="http://1.1.1.1" target="_blank">1.1.1.1</a>&quot;)<br>
&gt;  session:execute(&quot;bridge&quot;,&quot;sofia/external/&quot; .. called_num .. &quot;@<a href="http://1.1.1.2" target="_blank">1.1.1.2</a>&quot;)<br>
&gt; .<br>
&gt; .<br>
&gt;<br>
&gt; Thank you,<br>
&gt; Dorn B.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><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>
<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>
<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>
</div></div></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>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</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>