There are two ways...

1) Use the Limit functionality. This only works if you're the only person sending calls, since you can only count your own calls.
http://wiki.freeswitch.org/wiki/Limit

2) Send the call to the user, and see if they reject the call with 486 Busy Here if busy. Simply handle that hangup reason.
This will work if they are receiving a call from other users, but doesn't work with all phones - eg some will have multiple lines so allow a call to ring even if they've already answered another call.

Steve



On 9 November 2012 12:14, Miha <miha@softnet.si> wrote:
Hi,

I would like to implement in my biling function that the FS will do call
fwd if user is busy.

How can I detect user busy? I am doing dialplan with curl.


br,
Miha

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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