Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] How to check hangup cause before try next route in mod_lcr


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
dome at tel.co.th
Guest





PostPosted: Fri Jul 10, 2009 11:10 am    Post subject: [Freeswitch-users] How to check hangup cause before try next Reply with quote

Dear all,

I'm testing mod_lcr.
i found example in wiki
<action application="lcr" data="$1"/>
<action application="bridge" data="${lcr_auto_route}"/>
If i want to use ${lcr_route_1} and ${lcr_route_2} What's best way to
check hangup cause before try lcr_route_2 ?


BG

Dome C.

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
mrene_lists at avgs.ca
Guest





PostPosted: Fri Jul 10, 2009 11:12 am    Post subject: [Freeswitch-users] How to check hangup cause before try next Reply with quote

<action application="set" data="hangup_after_bridge=true" />

That'll make your dialplan stop if the call is hung up from the B-leg.

Math

On 10-Jul-09, at 12:10 PM, Dome Charoenyost wrote:

Quote:
Dear all,

I'm testing mod_lcr.
i found example in wiki
<action application="lcr" data="$1"/>
<action application="bridge" data="${lcr_auto_route}"/>
If i want to use ${lcr_route_1} and ${lcr_route_2} What's best way to
check hangup cause before try lcr_route_2 ?


BG

Dome C.

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
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
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
dome at tel.co.th
Guest





PostPosted: Fri Jul 10, 2009 11:38 am    Post subject: [Freeswitch-users] How to check hangup cause before try next Reply with quote

2009/7/10 Mathieu Rene <mrene_lists@avgs.ca>:
Quote:
<action application="set" data="hangup_after_bridge=true" />

thanks.

let's me ask some question.
i want to provide callback solution.
1. customer call to FS
2. FS hangup call and check balance (by callerid)
3. Make call to customer number
4. customer answer call and input destination
this step when B-leg hangup (Or A-leg put *) customer can input
other number until A-leg Hangup

Now my solution use javascripts. but someone tell me JS not good for
handle call. So now i testing mod_lcr and nibblebill

Can someone show me dialplan for do like that.

Best Regards.

Dome C.


Quote:

That'll make your dialplan stop if the call is hung up from the B-leg.

Math

On 10-Jul-09, at 12:10 PM, Dome Charoenyost wrote:

Quote:
Dear all,

        I'm testing mod_lcr.
i found example in wiki
     <action application="lcr" data="$1"/>
     <action application="bridge" data="${lcr_auto_route}"/>
If i want to use ${lcr_route_1} and ${lcr_route_2} What's best way to
check hangup cause before try lcr_route_2 ?


BG

Dome C.

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
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
Freeswitch-users@lists.freeswitch.org
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
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services