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 <[email protected]> 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 <[email protected]>
>> To: [email protected]
>> 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
>> [email protected]
>>
>>
>>
>>
>> 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
>>> [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
>>
>>
>
>
> --
> Regards,
>
> Ahmed Munir
>
>
>
> _______________________________________________
> 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

Reply via email to