VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
ahmedmunir007 at gmail... Guest
|
Posted: Mon Sep 07, 2009 12:05 am Post subject: [Freeswitch-users] Checking Busy Status |
|
|
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 |
|
Back to top |
|
|
mrene_lists at avgs.ca Guest
|
Posted: Mon Sep 07, 2009 12:06 am Post subject: [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@avgs.ca
On 6-Sep-09, at 9:58 PM, Ahmed Munir wrote:
Quote: | 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@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 |
|
|
ahmedmunir007 at gmail... Guest
|
Posted: Mon Sep 07, 2009 12:53 am Post subject: [Freeswitch-users] Checking Busy Status |
|
|
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.
--
Regards,
Ahmed Munir |
|
Back to top |
|
|
jmesquita at freeswitc... Guest
|
Posted: Mon Sep 07, 2009 1:19 am Post subject: [Freeswitch-users] Checking Busy Status |
|
|
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@gmail.com (ahmedmunir007@gmail.com)> wrote:
|
|
Back to top |
|
|
n.geordzhev at gmail.com Guest
|
Posted: Mon Sep 07, 2009 1:57 am Post subject: [Freeswitch-users] Checking Busy Status |
|
|
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@freeswitch.org (jmesquita@freeswitch.org)>
|
|
Back to top |
|
|
|
|
|
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
|