<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:verdana, helvetica, sans-serif;font-size:10pt"><div>I am really sorry. I did not mean to rush or anything. I've had a problem with my email many times, so I just want to make sure that my email gets there.</div><div><br></div><div>Regards,</div><div>Dorn B.</div><div style="font-family:verdana, helvetica, sans-serif;font-size:10pt"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Anthony Minessale <anthony.minessale@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> freeswitch-users@lists.freeswitch.org<br><b><span style="font-weight: bold;">Sent:</span></b> Mon, November 2, 2009 9:07:26 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Freeswitch-users] Freeswitch in
signaling path only<br></font><br>yes please use our latest SVN trunk if you plan to report issues because our first questions always is "can you reproduce this issue with our latest code" And please don'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"><<a rel="nofollow" ymailto="mailto:djbinter@yahoo.com" target="_blank" href="mailto:djbinter@yahoo.com">djbinter@yahoo.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;">
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 <<a rel="nofollow" ymailto="mailto:djbinter@yahoo.com" target="_blank" href="mailto:djbinter@yahoo.com">djbinter@yahoo.com</a>><br>
To: <a rel="nofollow" ymailto="mailto:freeswitch-users@lists.freeswitch.org" target="_blank" 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's still the same result. By the way, I am running: FreeSWITCH Version 1.0.4 (exported)<br>
.<br>
.<br>
.<br>
session:execute("set","hangup_after_bridge=true")<br>
session:execute("set","continue_on_fail=true")<br>
session:execute("set","originate_timeout=2")<br>
session:execute("set","originate_retries=3")<br>
session:execute("set","progress_timeout=15")<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("set", "accountcode=" ..cust_name .. "")<br>
session:execute("set","bypass_media=true")<br>
session:execute("bridge","sofia/external/" .. called_num .. "@XX.XX.XX.XX.146")<br>
session:execute("set","bypass_media=true")<br>
session:execute("bridge","sofia/external/" .. called_num .. "@XX.XX.XX.XX.105")<br>
-- Block for testing -- session:execute("bridge","sofia/external/" .. called_num .. "@" .. gw_ip_address .."")<br>
row = cur:fetch (row, "a")<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 -> 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 -> 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 -> 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 -> 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 -> 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 -> 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 -> 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 <<a rel="nofollow" ymailto="mailto:chris@cloudtel.com" target="_blank" href="mailto:chris@cloudtel.com">chris@cloudtel.com</a>><br>
To: <a rel="nofollow" ymailto="mailto:freeswitch-users@lists.freeswitch.org" target="_blank" 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>
"Channel is already up, delaying proxy mode 'till both legs are answered."<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>
> I am wondering why I cannot do as condition#2.<br>
><br>
> For Lua in dialplan, when I have the followings:<br>
><br>
><br>
> --WORKING--<br>
> (Condition#1)<br>
> .<br>
> .<br>
> session:execute("set","bypass_media=true")<br>
> session:execute("set","hangup_after_bridge=true")<br>
> session:execute("set","continue_on_fail=true")<br>
> .<br>
> .<br>
> session:execute("bridge","sofia/external/" .. called_num ..<br>
> "@<a rel="nofollow" target="_blank" href="http://1.1.1.1">1.1.1.1</a>|sofia/external/" .. called_num .. "@<a rel="nofollow" target="_blank" href="http://1.1.1.2">1.1.1.2</a>") .<br>
> .<br>
><br>
> --NOT WORKING--<br>
> (Condition#2)<br>
> Note: FS tries to be in media path and send re-invite.<br>
> .<br>
> .<br>
> session:execute("set","bypass_media=true")<br>
> session:execute("set","hangup_after_bridge=true")<br>
> session:execute("set","continue_on_fail=true")<br>
> .<br>
> .<br>
> session:execute("bridge","sofia/external/" .. called_num .. "@<a rel="nofollow" target="_blank" href="http://1.1.1.1">1.1.1.1</a>")<br>
> session:execute("bridge","sofia/external/" .. called_num .. "@<a rel="nofollow" target="_blank" href="http://1.1.1.2">1.1.1.2</a>")<br>
> .<br>
> .<br>
><br>
> Thank you,<br>
> Dorn B.<br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a rel="nofollow" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a rel="nofollow" target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a rel="nofollow" target="_blank" href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a rel="nofollow" ymailto="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank" href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a rel="nofollow" ymailto="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank" href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a rel="nofollow" target="_blank" href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a rel="nofollow" ymailto="mailto:sip%3A888@conference.freeswitch.org" target="_blank" href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a rel="nofollow" target="_blank" href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a rel="nofollow" ymailto="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank" href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
</div></div><div style="position:fixed"></div></div><br>
</body></html>