Hi, this is the v_huntgroup_localhost_$EXTENSION.lua http://pastebin.freeswitch.org/16565 if the second line is deleted one problem is solved, FS doesn't answer with 200 ok, but answer with ringing. But I'm not able to solve the other problem... / if the first extension is reachable and the user hangup before answering (hangup in ringing), the follow me procedure starts to contact the second extension in the list. I want that FS start to contact the second phone only if the first extension isn't registered to FS. / I think is related with the line 47. Some one can help me? Thanks Alessandro Luppi Il 22/06/2011 10:42, Christian Benke ha scritto:
On 21 June 2011 16:09, Alessandro<a.luppi@seletech.com> wrote:
Any suggestion? While i can't give you a concrete solution, take a look at the files that are created by fusionpbx, mainly /usr/local/freeswitch/scripts/v_huntgroup_localhost_$EXTENSION.lua - if you dig a bit you might be able to find and fix the problem yourself(And eventually file a bugreport with fusionpbx).
hth Christian
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
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
FIRST MAIL: /Hi, i'd like to implement this particular behaviour. If I call an extension that isn't registered to FS, FS re-route the call to another destination. If also the second destination in unreachable the call end. I first used the follow me (created with fusionpbx) to implement this feature, but I have the following problem: if the first extension is reachable and the user hangup before answering (hangup in ringing), the follow me procedure starts to contact the second extension in the list. I want that FS start to contact the second phone only if the first extension isn't registered to FS. The second problem is that with follow-me FS answer with 200 OK at the invite of the caller bypassing the ringing status, than the procedure of follow-me is transparent to the caller. I'd like that the caller stay in ringing status until one of the destination extension answer at the call or the call is closed by FS. Any suggestion? Regards Alessandro Luppi / -- Ing. Alessandro Luppi Software development Seletech srl Via Collodi 8, 20052 Monza (MI) - Italy Tel: +39.039.5962000 - Fax: +39.039.9716905 email: a.luppi@seletech.com - Web: www.seletech.com or www.seletech.eu