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.



On Mon, Nov 2, 2009 at 10:56 AM, DJB <[email protected]> wrote:

> Any suggestion from anyone please?
>
> Thank you,
> Dorn B
>
>
> ----- Original Message ----
> From: DJB <[email protected]>
> To: [email protected]
> Sent: Fri, October 30, 2009 11:31:12 AM
> Subject: Re: [Freeswitch-users] Freeswitch in signaling path only
>
> Now i have as follows, but it's still the same result.  By the way, I am
> running:  FreeSWITCH Version 1.0.4 (exported)
> .
> .
> .
> session:execute("set","hangup_after_bridge=true")
> session:execute("set","continue_on_fail=true")
> session:execute("set","originate_timeout=2")
> session:execute("set","originate_retries=3")
> session:execute("set","progress_timeout=15")
> .
> .
> .
> while row do
> local gw_ip_address = row.gw_ip_address
> local cust_name = row.cust_name
> session:execute("set", "accountcode=" ..cust_name .. "")
> session:execute("set","bypass_media=true")
> session:execute("bridge","sofia/external/" .. called_num ..
> "@XX.XX.XX.XX.146")
> session:execute("set","bypass_media=true")
> session:execute("bridge","sofia/external/" .. called_num ..
> "@XX.XX.XX.XX.105")
> -- Block for testing -- session:execute("bridge","sofia/external/" ..
> called_num .. "@" .. gw_ip_address .."")
> row = cur:fetch (row, "a")
> end
>
> Here is the debug for switch_ivr_originate.c:
>
> 2009-10-30 11:09:52.877832 [DEBUG] switch_ivr_originate.c:63
> (sofia/external/[email protected]) State Change CS_ROUTING -> C
> S_CONSUME_MEDIA
> 2009-10-30 11:09:53.17811 [DEBUG] switch_ivr_originate.c:2061 Originate
> Resulted in Success: [sofia/external/[email protected]
> 46]
> 2009-10-30 11:09:54.285453 [DEBUG] switch_ivr_originate.c:63
> (sofia/external/[email protected]) State Change CS_ROUTING -> C
> S_CONSUME_MEDIA
> 2009-10-30 11:09:54.422426 [DEBUG] switch_ivr_originate.c:2061 Originate
> Resulted in Success: [sofia/external/[email protected].
> 105]
> 2009-10-30 11:09:55.694761 [DEBUG] switch_ivr_originate.c:63
> (sofia/external/[email protected]) State Change CS_ROUTING -> C
> S_CONSUME_MEDIA
> 2009-10-30 11:09:55.836036 [DEBUG] switch_ivr_originate.c:2061 Originate
> Resulted in Success: [sofia/external/[email protected].
> 146]
> 2009-10-30 11:09:57.107697 [DEBUG] switch_ivr_originate.c:63
> (sofia/external/[email protected]) State Change CS_ROUTING -> C
> S_CONSUME_MEDIA
> 2009-10-30 11:09:57.254664 [DEBUG] switch_ivr_originate.c:2061 Originate
> Resulted in Success: [sofia/external/[email protected].
> 105]
> 2009-10-30 11:12:03.129097 [DEBUG] switch_ivr_originate.c:63
> (sofia/external/[email protected]) State Change CS_ROUTING -> C
> S_CONSUME_MEDIA
> 2009-10-30 11:12:03.273055 [DEBUG] switch_ivr_originate.c:2061 Originate
> Resulted in Success: [sofia/external/[email protected].
> 146]
> 2009-10-30 11:12:04.546410 [DEBUG] switch_ivr_originate.c:63
> (sofia/external/[email protected]) State Change CS_ROUTING -> C
> S_CONSUME_MEDIA
> 2009-10-30 11:12:04.682661 [DEBUG] switch_ivr_originate.c:2061 Originate
> Resulted in Success: [sofia/external/[email protected].
> 105]
> 2009-10-30 11:12:15.781701 [DEBUG] switch_ivr_originate.c:2138 Originate
> Resulted in Error Cause: 16 [NORMAL_CLEARING]
> 2009-10-30 11:12:33.349162 [DEBUG] switch_ivr_originate.c:63
> (sofia/external/[email protected]) State Change CS_ROUTING -> C
> S_CONSUME_MEDIA
> 2009-10-30 11:12:33.470989 [DEBUG] switch_ivr_originate.c:2061 Originate
> Resulted in Success: [sofia/external/[email protected].
> 146]
> 2009-10-30 11:12:34.724641 [DEBUG] switch_ivr_originate.c:2138 Originate
> Resulted in Error Cause: 487 [ORIGINATOR_CANCEL]
> 2009-10-30 11:12:34.730634 [DEBUG] switch_ivr_originate.c:2138 Originate
> Resulted in Error Cause: 487 [ORIGINATOR_CANCEL]
> 2009-10-30 11:12:34.750637 [DEBUG] switch_ivr_originate.c:2138 Originate
> Resulted in Error Cause: 487 [ORIGINATOR_CANCEL]
>
>
> FIRST ROUTE: XX.XX.XX.146
> and I tried to failed the first route and it gave 500 back, then it goes to
> the next one.
> SECOND ROUTE:  XX.XX.XX.105
>
>
> Thank you,
> Dorn B.
>
>
>
> ----- Original Message ----
> From: Chris Burns <[email protected]>
> To: [email protected]
> Sent: Fri, October 30, 2009 10:00:01 AM
> Subject: Re: [Freeswitch-users] Freeswitch in signaling path only
>
> Do you have a debug level message from switch_ivr_originate.c in your log?
> "Channel is already up, delaying proxy mode 'till both legs are answered."
>
> Set bypass_media b4 each bridge. It is unsetting on you and setting
> bypass_media_after_bridge because you already answered the channel running
> the lua script.
>
> On October 30, 2009 12:03:29 pm DJB wrote:
> > I am wondering why I cannot do as condition#2.
> >
> > For Lua in dialplan, when I have the followings:
> >
> >
> > --WORKING--
> > (Condition#1)
> > .
> > .
> > session:execute("set","bypass_media=true")
> > session:execute("set","hangup_after_bridge=true")
> > session:execute("set","continue_on_fail=true")
> > .
> > .
> >  session:execute("bridge","sofia/external/" .. called_num ..
> > "@1.1.1.1|sofia/external/" .. called_num .. "@1.1.1.2") .
> > .
> >
> > --NOT WORKING--
> > (Condition#2)
> > Note:  FS tries to be in media path and send re-invite.
> > .
> > .
> > session:execute("set","bypass_media=true")
> > session:execute("set","hangup_after_bridge=true")
> > session:execute("set","continue_on_fail=true")
> > .
> > .
> >  session:execute("bridge","sofia/external/" .. called_num .. "@1.1.1.1")
> >  session:execute("bridge","sofia/external/" .. called_num .. "@1.1.1.2")
> > .
> > .
> >
> > Thank you,
> > Dorn B.
> >
> >
> >
> >
> > _______________________________________________
> > FreeSWITCH-users mailing list
> > [email protected]
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> [email protected]
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> [email protected]
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> [email protected]
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:[email protected] <msn%[email protected]>
GTALK/JABBER/PAYPAL:[email protected]<paypal%[email protected]>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[email protected] <sip%[email protected]>
iax:[email protected]/888
googletalk:[email protected]<googletalk%3aconf%[email protected]>
pstn:213-799-1400
_______________________________________________
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to