Maybe the function exists, and we are just not aware :) Let's wait what the developers would say... On Nov 20, 2011, at 10:21 PM, Boris Kovalenko wrote:
Hello!
Yes, I know about this way :) I'm looking for a more simple solution. And I really can't understand why developers haven't implemented a function that can search in all profiles.
Ugly, but 100% working approach would be to dial all profiles, adding continue_on_fail=USER_NOT_REGISTERED in all your dialplans which are linked to all your profiles.
The following example works fine:
<action application="set" data="hangup_after_bridge=true"/> <action application="set" data="continue_on_fail=USER_NOT_REGISTERED"/> <action application="bridge" data="${sofia_contact(internet/${dialed_extension})}"/> <action application="bridge" data="${sofia_contact(local_net/${dialed_extension})}"/> <action application="bridge" data="${sofia_contact(dmz/${dialed_extension})}"/>
Regards, Vitalie
On Nov 20, 2011, at 9:01 PM, Boris Kovalenko wrote:
Hello!
My FS has different sip profiles (internet, local net, dmz etc). There is some type of mobile users that may register with any profile. So, is there a simple way to call registered user without known on which profile it has registered? AFAIK sofia_contact need profile and user/ is looking in profile of incoming call.
-- Regards, Boris
_________________________________________________________________________ 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
_________________________________________________________________________ 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
-- Regards, Boris
_________________________________________________________________________ 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