[Freeswitch-users] Checking Busy Status

Nikolai Geordzhev n.geordzhev at gmail.com
Sun Sep 6 23:51:46 PDT 2009


I think you have to use:

 <action application="set" data="continue_on_fail=USER_BUSY"/>

and after the bridge application you need to get the variable
${originate_disposition}.


2009/9/7 João Mesquita <jmesquita at freeswitch.org>

> No expert in perl but you are looking for hangup_cause variable. Check how
> to get channel variables from a session in perl and you are set.
>
> jmesquita
>
>
> On Mon, Sep 7, 2009 at 2:47 AM, Ahmed Munir <ahmedmunir007 at gmail.com>wrote:
>
>>
>> Hi,
>>
>> Thanks for quick reply. I want to know how can I apply USER_BUSY in perl?
>> Like for hangup I'm calling it from function Freeswitch::CoreSession i.e.
>>
>> $session->hangup();
>>
>> Do I have to call it as listed below;
>>
>> $session->USER_BUSY();
>>
>> or there other way around in perl?
>>
>> Kindly do let me know.
>>
>>
>>
>>
>>> ---------- Forwarded message ----------
>>> From: Mathieu Rene <mrene_lists at avgs.ca>
>>> To: freeswitch-users at lists.freeswitch.org
>>> Date: Sun, 6 Sep 2009 22:01:58 -0700
>>> Subject: Re: [Freeswitch-users] Checking Busy Status
>>> The hangup cause will be USER_BUSY.
>>>
>>> You can hop on #freeswitch if you need some explanations.
>>>
>>> Mathieu Rene
>>> Avant-Garde Solutions Inc
>>> Office: + 1 (514) 664-1044 x100
>>> Cell: +1 (514) 664-1044 x200
>>> mrene at avgs.ca
>>>
>>>
>>>
>>>
>>> On 6-Sep-09, at 9:58 PM, Ahmed Munir wrote:
>>>
>>>  Hi,
>>>>
>>>> How can I check the busy status in FS? I've searched all the wiki pages
>>>> i.e. dptools, dialplans, dialplanxml and even mod_perl portion as well, but
>>>> couldn't find checking busy status.
>>>>
>>>> I've written a perl script but couldn't complete it because theres no
>>>> any function or class regrding busy status. Kindly let me know how can I
>>>> check the busy status in mod_perl and also in dialplan tools as well.
>>>>
>>>>
>>>> --
>>>> Regards,
>>>>
>>>> Ahmed Munir
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>>
>>
>>
>> --
>> Regards,
>>
>> Ahmed Munir
>>
>>
>>
>> _______________________________________________
>> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090907/8de10eed/attachment-0002.html 


More information about the FreeSWITCH-users mailing list