Call to registered user
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
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
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
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
В Mon, 21 Nov 2011 11:01:19 +0600 Boris Kovalenko <boris@tagnet.ru> wrote:
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.
Try to use aliases for each profile. In this case, you don't need to know about profile name. -- Sergey Scheglov
But AFAIK I can't use the same alias for two or more profiles? Am I wrong?
В Mon, 21 Nov 2011 11:01:19 +0600 Boris Kovalenko<boris@tagnet.ru> wrote:
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. Try to use aliases for each profile. In this case, you don't need to know about profile name.
-- Regards, Boris
Hello, i make a paralellcall to: 1000 and 1001 <action application="bridge" data="user/1000@${domain_name}, user/1001@${domain_name},user/1002@${domain_name}, user/1003@${domain_name}"/> For examle: one user 1000 or 1001 or so on is not registered. the transfer to the rest breaks. Is there a possibility that the chain calls anyway? thanks --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
You can't use the user/xxx method when trying to bridge to more than one user without using the enterprise originate method. See here: http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bridge#user Hint: use ":_:" instead of "," to separate the endpoints. -MC On Tue, Nov 22, 2011 at 3:14 PM, Thomas Hoellriegel <admin@blindi.net>wrote:
Hello, i make a paralellcall to: 1000 and 1001 <action application="bridge" data="user/1000@${domain_name}**, user/1001@${domain_name},user/**1002@${domain_name}, user/1003@${domain_name}"/>
For examle: one user 1000 or 1001 or so on is not registered. the transfer to the rest breaks.
Is there a possibility that the chain calls anyway? thanks
--------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/**listinfo/blinde-misc<http://www.blindi.net/mailman/listinfo/blinde-misc>
_________________________________________________________________________ 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
On Sun, Nov 20, 2011 at 9:01 PM, Boris Kovalenko <boris@tagnet.ru> 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.
sofia_contact *can* accept a profile argument but it is not required. The required argument is "user@domain". If you don't have multiple domains then there should not be a reason that you cannot use sofia_contact. -MC
Hello! Michael, please explain: sofia status profile internal reg Registrations: ================================================================================================= Call-ID: 15020233664170-17093105930554@192.168.15.48 User: 230172@rcen-nt.ru Contact: 230172 <sip:230172@192.168.15.48:5060> Agent: Greenlite ATOM V2.0 Status: Registered(UDP)(unknown) EXP(2011-11-22 10:18:19) EXPSECS(77) Host: voip-gw IP: 192.168.15.48 Port: 5060 Auth-User: 230172 Auth-Realm: rcen-nt.ru MWI-Account: 230172@rcen-nt.ru Call-ID: 279492684728797-11326384312512@192.168.15.42 User: 230175@rcen-nt.ru Contact: 230175 <sip:230175@192.168.15.42:5060> Agent: Greenlite ATOM V2.0 Status: Registered(UDP)(unknown) EXP(2011-11-22 10:18:28) EXPSECS(86) Host: voip-gw IP: 192.168.15.42 Port: 5060 Auth-User: 230175 Auth-Realm: rcen-nt.ru MWI-Account: 230175@rcen-nt.ru Call-ID: 25095839831609-809787075531@192.168.15.46 User: 230171@rcen-nt.ru Contact: 230171 <sip:230171@192.168.15.46:5060> Agent: Greenlite ATOM V2.0 Status: Registered(UDP)(unknown) EXP(2011-11-22 10:18:29) EXPSECS(87) Host: voip-gw IP: 192.168.15.46 Port: 5060 Auth-User: 230171 Auth-Realm: rcen-nt.ru MWI-Account: 230171@rcen-nt.ru Call-ID: 1577286384367-21354577016286@192.168.15.45 User: 230173@rcen-nt.ru Contact: 230173 <sip:230173@192.168.15.45:5060> Agent: Greenlite ATOM V2.0 Status: Registered(UDP)(unknown) EXP(2011-11-22 10:18:29) EXPSECS(87) Host: voip-gw IP: 192.168.15.45 Port: 5060 Auth-User: 230173 Auth-Realm: rcen-nt.ru MWI-Account: 230173@rcen-nt.ru Call-ID: 59571353025698-224172903926056@192.168.15.43 User: 230174@rcen-nt.ru Contact: 230174 <sip:230174@192.168.15.43:5060> Agent: Greenlite ATOM V2.0 Status: Registered(UDP)(unknown) EXP(2011-11-22 10:18:33) EXPSECS(91) Host: voip-gw IP: 192.168.15.43 Port: 5060 Auth-User: 230174 Auth-Realm: rcen-nt.ru MWI-Account: 230174@rcen-nt.ru Total items returned: 5 ================================================================================================= freeswitch@internal> sofia_contact 230171 error/user_not_registered freeswitch@internal> sofia_contact 230171@rcen-nt.ru error/user_not_registered freeswitch@internal> sofia_contact internal/230171@rcent-nt.ru error/user_not_registered freeswitch@internal> sofia_contact internal/230171 sofia/internal/sip:230171@192.168.15.46:5060 freeswitch@internal> version FreeSWITCH Version 1.0.head (git-cdabd56 2011-11-17 08-23-21 +0100)
On Sun, Nov 20, 2011 at 9:01 PM, Boris Kovalenko <boris@tagnet.ru <mailto:boris@tagnet.ru>> 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.
sofia_contact *can* accept a profile argument but it is not required. The required argument is "user@domain". If you don't have multiple domains then there should not be a reason that you cannot use sofia_contact.
-MC
_________________________________________________________________________ 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
-- ? ?????????, ????? ????????? ??? "??????" ???. +7 (3435) 230001 ???? +7 (3435) 230005
Boris, Do "eval ${domain}" and see what shakes out - IP address or what? Try this: expand sofia_contact 230172@${domain} -MC On Mon, Nov 21, 2011 at 8:14 PM, Boris Kovalenko <boris@tagnet.ru> wrote:
Hello!
Michael, please explain:
sofia status profile internal reg Registrations:
================================================================================================= Call-ID: 15020233664170-17093105930554@192.168.15.48 User: 230172@rcen-nt.ru Contact: 230172 <sip:230172@192.168.15.48:5060> Agent: Greenlite ATOM V2.0 Status: Registered(UDP)(unknown) EXP(2011-11-22 10:18:19) EXPSECS(77) Host: voip-gw IP: 192.168.15.48 Port: 5060 Auth-User: 230172 Auth-Realm: rcen-nt.ru MWI-Account: 230172@rcen-nt.ru
Call-ID: 279492684728797-11326384312512@192.168.15.42 User: 230175@rcen-nt.ru Contact: 230175 <sip:230175@192.168.15.42:5060> Agent: Greenlite ATOM V2.0 Status: Registered(UDP)(unknown) EXP(2011-11-22 10:18:28) EXPSECS(86) Host: voip-gw IP: 192.168.15.42 Port: 5060 Auth-User: 230175 Auth-Realm: rcen-nt.ru MWI-Account: 230175@rcen-nt.ru
Call-ID: 25095839831609-809787075531@192.168.15.46 User: 230171@rcen-nt.ru Contact: 230171 <sip:230171@192.168.15.46:5060> Agent: Greenlite ATOM V2.0 Status: Registered(UDP)(unknown) EXP(2011-11-22 10:18:29) EXPSECS(87) Host: voip-gw IP: 192.168.15.46 Port: 5060 Auth-User: 230171 Auth-Realm: rcen-nt.ru MWI-Account: 230171@rcen-nt.ru
Call-ID: 1577286384367-21354577016286@192.168.15.45 User: 230173@rcen-nt.ru Contact: 230173 <sip:230173@192.168.15.45:5060> Agent: Greenlite ATOM V2.0 Status: Registered(UDP)(unknown) EXP(2011-11-22 10:18:29) EXPSECS(87) Host: voip-gw IP: 192.168.15.45 Port: 5060 Auth-User: 230173 Auth-Realm: rcen-nt.ru MWI-Account: 230173@rcen-nt.ru
Call-ID: 59571353025698-224172903926056@192.168.15.43 User: 230174@rcen-nt.ru Contact: 230174 <sip:230174@192.168.15.43:5060> Agent: Greenlite ATOM V2.0 Status: Registered(UDP)(unknown) EXP(2011-11-22 10:18:33) EXPSECS(91) Host: voip-gw IP: 192.168.15.43 Port: 5060 Auth-User: 230174 Auth-Realm: rcen-nt.ru MWI-Account: 230174@rcen-nt.ru
Total items returned: 5
=================================================================================================
freeswitch@internal> sofia_contact 230171 error/user_not_registered
freeswitch@internal> sofia_contact 230171@rcen-nt.ru error/user_not_registered
freeswitch@internal> sofia_contact internal/230171@rcent-nt.ru error/user_not_registered
freeswitch@internal> sofia_contact internal/230171 sofia/internal/sip:230171@192.168.15.46:5060
freeswitch@internal> version FreeSWITCH Version 1.0.head (git-cdabd56 2011-11-17 08-23-21 +0100)
On Sun, Nov 20, 2011 at 9:01 PM, Boris Kovalenko <boris@tagnet.ru> 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.
sofia_contact *can* accept a profile argument but it is not required. The required argument is "user@domain". If you don't have multiple domains then there should not be a reason that you cannot use sofia_contact.
-MC
_________________________________________________________________________ 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...
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005
_________________________________________________________________________ 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
Hello! freeswitch@internal> eval ${domain} rcen-nt.ru freeswitch@internal> expand sofia_contact 230172@${domain} error/user_not_registered
Boris,
Do "eval ${domain}" and see what shakes out - IP address or what? Try this:
expand sofia_contact 230172@${domain}
-MC
On Mon, Nov 21, 2011 at 8:14 PM, Boris Kovalenko <boris@tagnet.ru <mailto:boris@tagnet.ru>> wrote:
Hello!
Michael, please explain:
sofia status profile internal reg Registrations: ================================================================================================= Call-ID: 15020233664170-17093105930554@192.168.15.48 <mailto:15020233664170-17093105930554@192.168.15.48> User: 230172@rcen-nt.ru <mailto:230172@rcen-nt.ru> Contact: 230172 <sip:230172@192.168.15.48:5060> Agent: Greenlite ATOM V2.0 Status: Registered(UDP)(unknown) EXP(2011-11-22 10:18:19) EXPSECS(77) Host: voip-gw IP: 192.168.15.48 Port: 5060 Auth-User: 230172 Auth-Realm: rcen-nt.ru <http://rcen-nt.ru> MWI-Account: 230172@rcen-nt.ru <mailto:230172@rcen-nt.ru>
Call-ID: 279492684728797-11326384312512@192.168.15.42 <mailto:279492684728797-11326384312512@192.168.15.42> User: 230175@rcen-nt.ru <mailto:230175@rcen-nt.ru> Contact: 230175 <sip:230175@192.168.15.42:5060> Agent: Greenlite ATOM V2.0 Status: Registered(UDP)(unknown) EXP(2011-11-22 10:18:28) EXPSECS(86) Host: voip-gw IP: 192.168.15.42 Port: 5060 Auth-User: 230175 Auth-Realm: rcen-nt.ru <http://rcen-nt.ru> MWI-Account: 230175@rcen-nt.ru <mailto:230175@rcen-nt.ru>
Call-ID: 25095839831609-809787075531@192.168.15.46 <mailto:25095839831609-809787075531@192.168.15.46> User: 230171@rcen-nt.ru <mailto:230171@rcen-nt.ru> Contact: 230171 <sip:230171@192.168.15.46:5060> Agent: Greenlite ATOM V2.0 Status: Registered(UDP)(unknown) EXP(2011-11-22 10:18:29) EXPSECS(87) Host: voip-gw IP: 192.168.15.46 Port: 5060 Auth-User: 230171 Auth-Realm: rcen-nt.ru <http://rcen-nt.ru> MWI-Account: 230171@rcen-nt.ru <mailto:230171@rcen-nt.ru>
Call-ID: 1577286384367-21354577016286@192.168.15.45 <mailto:1577286384367-21354577016286@192.168.15.45> User: 230173@rcen-nt.ru <mailto:230173@rcen-nt.ru> Contact: 230173 <sip:230173@192.168.15.45:5060> Agent: Greenlite ATOM V2.0 Status: Registered(UDP)(unknown) EXP(2011-11-22 10:18:29) EXPSECS(87) Host: voip-gw IP: 192.168.15.45 Port: 5060 Auth-User: 230173 Auth-Realm: rcen-nt.ru <http://rcen-nt.ru> MWI-Account: 230173@rcen-nt.ru <mailto:230173@rcen-nt.ru>
Call-ID: 59571353025698-224172903926056@192.168.15.43 <mailto:59571353025698-224172903926056@192.168.15.43> User: 230174@rcen-nt.ru <mailto:230174@rcen-nt.ru> Contact: 230174 <sip:230174@192.168.15.43:5060> Agent: Greenlite ATOM V2.0 Status: Registered(UDP)(unknown) EXP(2011-11-22 10:18:33) EXPSECS(91) Host: voip-gw IP: 192.168.15.43 Port: 5060 Auth-User: 230174 Auth-Realm: rcen-nt.ru <http://rcen-nt.ru> MWI-Account: 230174@rcen-nt.ru <mailto:230174@rcen-nt.ru>
Total items returned: 5 =================================================================================================
freeswitch@internal> sofia_contact 230171 error/user_not_registered
freeswitch@internal> sofia_contact 230171@rcen-nt.ru <mailto:230171@rcen-nt.ru> error/user_not_registered
freeswitch@internal> sofia_contact internal/230171@rcent-nt.ru <mailto:internal/230171@rcent-nt.ru> error/user_not_registered
freeswitch@internal> sofia_contact internal/230171 sofia/internal/sip:230171@192.168.15.46:5060
freeswitch@internal> version FreeSWITCH Version 1.0.head (git-cdabd56 2011-11-17 08-23-21 +0100)
On Sun, Nov 20, 2011 at 9:01 PM, Boris Kovalenko <boris@tagnet.ru <mailto:boris@tagnet.ru>> 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.
sofia_contact *can* accept a profile argument but it is not required. The required argument is "user@domain". If you don't have multiple domains then there should not be a reason that you cannot use sofia_contact.
-MC
_________________________________________________________________________ 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
-- ? ?????????, ????? ????????? ??? "??????" ???.+7 (3435) 230001 <tel:%2B7%20%283435%29%20230001> ????+7 (3435) 230005 <tel:%2B7%20%283435%29%20230005>
_________________________________________________________________________ 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
-- Regards, Boris
Is this a multi-domain setup? -MC On Mon, Nov 21, 2011 at 10:09 PM, Boris Kovalenko <boris@tagnet.ru> wrote:
Hello!
freeswitch@internal> eval ${domain} rcen-nt.ru freeswitch@internal> expand sofia_contact 230172@${domain} error/user_not_registered
Boris,
Do "eval ${domain}" and see what shakes out - IP address or what? Try this:
expand sofia_contact 230172@${domain}
-MC
On Mon, Nov 21, 2011 at 8:14 PM, Boris Kovalenko <boris@tagnet.ru> wrote:
Hello!
Michael, please explain:
sofia status profile internal reg Registrations:
================================================================================================= Call-ID: 15020233664170-17093105930554@192.168.15.48 User: 230172@rcen-nt.ru Contact: 230172 <sip:230172@192.168.15.48:5060> Agent: Greenlite ATOM V2.0 Status: Registered(UDP)(unknown) EXP(2011-11-22 10:18:19) EXPSECS(77) Host: voip-gw IP: 192.168.15.48 Port: 5060 Auth-User: 230172 Auth-Realm: rcen-nt.ru MWI-Account: 230172@rcen-nt.ru
Call-ID: 279492684728797-11326384312512@192.168.15.42 User: 230175@rcen-nt.ru Contact: 230175 <sip:230175@192.168.15.42:5060> Agent: Greenlite ATOM V2.0 Status: Registered(UDP)(unknown) EXP(2011-11-22 10:18:28) EXPSECS(86) Host: voip-gw IP: 192.168.15.42 Port: 5060 Auth-User: 230175 Auth-Realm: rcen-nt.ru MWI-Account: 230175@rcen-nt.ru
Call-ID: 25095839831609-809787075531@192.168.15.46 User: 230171@rcen-nt.ru Contact: 230171 <sip:230171@192.168.15.46:5060> Agent: Greenlite ATOM V2.0 Status: Registered(UDP)(unknown) EXP(2011-11-22 10:18:29) EXPSECS(87) Host: voip-gw IP: 192.168.15.46 Port: 5060 Auth-User: 230171 Auth-Realm: rcen-nt.ru MWI-Account: 230171@rcen-nt.ru
Call-ID: 1577286384367-21354577016286@192.168.15.45 User: 230173@rcen-nt.ru Contact: 230173 <sip:230173@192.168.15.45:5060> Agent: Greenlite ATOM V2.0 Status: Registered(UDP)(unknown) EXP(2011-11-22 10:18:29) EXPSECS(87) Host: voip-gw IP: 192.168.15.45 Port: 5060 Auth-User: 230173 Auth-Realm: rcen-nt.ru MWI-Account: 230173@rcen-nt.ru
Call-ID: 59571353025698-224172903926056@192.168.15.43 User: 230174@rcen-nt.ru Contact: 230174 <sip:230174@192.168.15.43:5060> Agent: Greenlite ATOM V2.0 Status: Registered(UDP)(unknown) EXP(2011-11-22 10:18:33) EXPSECS(91) Host: voip-gw IP: 192.168.15.43 Port: 5060 Auth-User: 230174 Auth-Realm: rcen-nt.ru MWI-Account: 230174@rcen-nt.ru
Total items returned: 5
=================================================================================================
freeswitch@internal> sofia_contact 230171 error/user_not_registered
freeswitch@internal> sofia_contact 230171@rcen-nt.ru error/user_not_registered
freeswitch@internal> sofia_contact internal/230171@rcent-nt.ru error/user_not_registered
freeswitch@internal> sofia_contact internal/230171 sofia/internal/sip:230171@192.168.15.46:5060
freeswitch@internal> version FreeSWITCH Version 1.0.head (git-cdabd56 2011-11-17 08-23-21 +0100)
On Sun, Nov 20, 2011 at 9:01 PM, Boris Kovalenko <boris@tagnet.ru> 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.
sofia_contact *can* accept a profile argument but it is not required. The required argument is "user@domain". If you don't have multiple domains then there should not be a reason that you cannot use sofia_contact.
-MC
_________________________________________________________________________ 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...
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005
_________________________________________________________________________ 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.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...
-- 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
participants (5)
-
Boris Kovalenko
-
Michael Collins
-
Sergey Scheglov
-
Thomas Hoellriegel
-
Vitali Colosov