Hi, I need a little help about call intercept. I have read wiki (http://wiki.freeswitch.org/wiki/Callgroup_intercept) but still having few problems. 1. I have Opensips which works like load_balancer and registrar. Behind Opensips I have two FS server, which are for load_balacing. 2. I need to set a call intercept thing. I done it like it is written on FS wiki but this does not work as I have Opensips. I have put this in public dialplan: <action application="set" data="called_party_callgroup=${user_data(${dialed_ext}@${domain} var callgroup)}"/> <action application="db" data="insert/last_dial/${called_party_callgroup}/${uuid}"/> After I try to intercept the call this fails as in database is written different UUID. CAll goes like this: Phone-openips-FS-Openips-Phone Thank you for all your help! MIha
HI, just to let you know I figure it out:) thanks any way! Regards, Miha On 5/8/2012 2:51 PM, Miha wrote:
Hi,
I need a little help about call intercept. I have read wiki (http://wiki.freeswitch.org/wiki/Callgroup_intercept) but still having few problems.
1. I have Opensips which works like load_balancer and registrar. Behind Opensips I have two FS server, which are for load_balacing. 2. I need to set a call intercept thing. I done it like it is written on FS wiki but this does not work as I have Opensips.
I have put this in public dialplan: <action application="set" data="called_party_callgroup=${user_data(${dialed_ext}@${domain} var callgroup)}"/> <action application="db" data="insert/last_dial/${called_party_callgroup}/${uuid}"/>
After I try to intercept the call this fails as in database is written different UUID.
CAll goes like this:
Phone-openips-FS-Openips-Phone
Thank you for all your help!
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
Care to share the solution for future reference? The mailing list is always indexed by Google or whatnot ... On May 9, 2012 8:16 AM, "Miha" <miha@softnet.si> wrote:
HI,
just to let you know I figure it out:)
thanks any way!
Regards, Miha
On 5/8/2012 2:51 PM, Miha wrote:
Hi,
I need a little help about call intercept. I have read wiki ( http://wiki.freeswitch.org/wiki/Callgroup_intercept) but still having few problems.
1. I have Opensips which works like load_balancer and registrar. Behind Opensips I have two FS server, which are for load_balacing. 2. I need to set a call intercept thing. I done it like it is written on FS wiki but this does not work as I have Opensips.
I have put this in public dialplan:
<action application="set" data="called_party_callgroup=${user_data(${dialed_ext}@${domain} var callgroup)}"/> <action application="db" data="insert/last_dial/${called_party_callgroup}/${uuid}"/>
After I try to intercept the call this fails as in database is written different UUID.
CAll goes like this:
Phone-openips-FS-Openips-Phone
Thank you for all your help!
MIha
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ 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
I agree with you. I have just fallowed wiki steps (http://wiki.freeswitch.org/wiki/User:Agx#Call_Pickup). But this was made when only one FS server way up, after I start other FS server and do load_balacing between them with opensips this do not work. Does anyone know what is the best way to deal whit this (one call is active on fs1 and other on fs2, how call intercept can be made between to FS servers)? Thanks! Miha On 5/9/2012 1:54 PM, João Mesquita wrote:
Care to share the solution for future reference? The mailing list is always indexed by Google or whatnot ...
On May 9, 2012 8:16 AM, "Miha" <miha@softnet.si <mailto:miha@softnet.si>> wrote:
HI,
just to let you know I figure it out:)
thanks any way!
Regards, Miha
On 5/8/2012 2:51 PM, Miha wrote:
Hi,
I need a little help about call intercept. I have read wiki (http://wiki.freeswitch.org/wiki/Callgroup_intercept) but still having few problems.
1. I have Opensips which works like load_balancer and registrar. Behind Opensips I have two FS server, which are for load_balacing. 2. I need to set a call intercept thing. I done it like it is written on FS wiki but this does not work as I have Opensips.
I have put this in public dialplan: <action application="set" data="called_party_callgroup=${user_data(${dialed_ext}@${domain} var callgroup)}"/> <action application="db" data="insert/last_dial/${called_party_callgroup}/${uuid}"/>
After I try to intercept the call this fails as in database is written different UUID.
CAll goes like this:
Phone-openips-FS-Openips-Phone
Thank you for all your help!
MIha
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto: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 <mailto: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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto: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 <mailto: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
_________________________________________________________________________ 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
participants (2)
-
João Mesquita
-
Miha