[Freeswitch-users] Call to registered user
Vitali Colosov
vetali100 at gmail.com
Mon Nov 21 09:10:20 MSK 2011
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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list