[Freeswitch-users] Call to registered user
Michael Collins
msc at freeswitch.org
Tue Nov 22 09:04:16 MSK 2011
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 at tagnet.ru> wrote:
> Hello!
>
> Michael, please explain:
>
> sofia status profile internal reg
> Registrations:
>
> =================================================================================================
> Call-ID: 15020233664170-17093105930554 at 192.168.15.48
> User: 230172 at rcen-nt.ru
> Contact: 230172 <sip:230172 at 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 at rcen-nt.ru
>
> Call-ID: 279492684728797-11326384312512 at 192.168.15.42
> User: 230175 at rcen-nt.ru
> Contact: 230175 <sip:230175 at 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 at rcen-nt.ru
>
> Call-ID: 25095839831609-809787075531 at 192.168.15.46
> User: 230171 at rcen-nt.ru
> Contact: 230171 <sip:230171 at 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 at rcen-nt.ru
>
> Call-ID: 1577286384367-21354577016286 at 192.168.15.45
> User: 230173 at rcen-nt.ru
> Contact: 230173 <sip:230173 at 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 at rcen-nt.ru
>
> Call-ID: 59571353025698-224172903926056 at 192.168.15.43
> User: 230174 at rcen-nt.ru
> Contact: 230174 <sip:230174 at 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 at rcen-nt.ru
>
> Total items returned: 5
>
> =================================================================================================
>
> freeswitch at internal> sofia_contact 230171
> error/user_not_registered
>
> freeswitch at internal> sofia_contact 230171 at rcen-nt.ru
> error/user_not_registered
>
> freeswitch at internal> sofia_contact internal/230171 at rcent-nt.ru
> error/user_not_registered
>
> freeswitch at internal> sofia_contact internal/230171
> sofia/internal/sip:230171 at 192.168.15.46:5060
>
> freeswitch at 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 at 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 at 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 at freeswitch.orghttp://www.freeswitchsolutions.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>
> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
>
>
> --
> С уважением,
> Борис Коваленко
> ЗАО "Тагнет"
> тел. +7 (3435) 230001
> факс +7 (3435) 230005
>
>
> _________________________________________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111121/08ae63e7/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list