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

Dome Charoenyost dome at tel.co.th
Fri Jul 10 09:37:29 PDT 2009


2009/7/10 Mathieu Rene <mrene_lists at avgs.ca>:
> <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.


>
> 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:
>
>> 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>




More information about the FreeSWITCH-users mailing list