Boris,<div><br></div><div>Do "eval ${domain}" and see what shakes out - IP address or what? Try this:</div><div><br></div><div>expand sofia_contact 230172@${domain}</div><div><br></div><div>-MC<br><br><div class="gmail_quote">
On Mon, Nov 21, 2011 at 8:14 PM, Boris Kovalenko <span dir="ltr"><<a href="mailto:boris@tagnet.ru">boris@tagnet.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF" text="#000000">
Hello!<br>
<br>
Michael, please explain:<br>
<br>
sofia status profile internal reg<br>
Registrations:<br>
=================================================================================================<br>
Call-ID: <a href="mailto:15020233664170-17093105930554@192.168.15.48" target="_blank">15020233664170-17093105930554@192.168.15.48</a><br>
User: <a href="mailto:230172@rcen-nt.ru" target="_blank">230172@rcen-nt.ru</a><br>
Contact: 230172 <a><sip:230172@192.168.15.48:5060></a><br>
Agent: Greenlite ATOM V2.0<br>
Status: Registered(UDP)(unknown) EXP(2011-11-22 10:18:19)
EXPSECS(77)<br>
Host: voip-gw<br>
IP: 192.168.15.48<br>
Port: 5060<br>
Auth-User: 230172<br>
Auth-Realm: <a href="http://rcen-nt.ru" target="_blank">rcen-nt.ru</a><br>
MWI-Account: <a href="mailto:230172@rcen-nt.ru" target="_blank">230172@rcen-nt.ru</a><br>
<br>
Call-ID: <a href="mailto:279492684728797-11326384312512@192.168.15.42" target="_blank">279492684728797-11326384312512@192.168.15.42</a><br>
User: <a href="mailto:230175@rcen-nt.ru" target="_blank">230175@rcen-nt.ru</a><br>
Contact: 230175 <a><sip:230175@192.168.15.42:5060></a><br>
Agent: Greenlite ATOM V2.0<br>
Status: Registered(UDP)(unknown) EXP(2011-11-22 10:18:28)
EXPSECS(86)<br>
Host: voip-gw<br>
IP: 192.168.15.42<br>
Port: 5060<br>
Auth-User: 230175<br>
Auth-Realm: <a href="http://rcen-nt.ru" target="_blank">rcen-nt.ru</a><br>
MWI-Account: <a href="mailto:230175@rcen-nt.ru" target="_blank">230175@rcen-nt.ru</a><br>
<br>
Call-ID: <a href="mailto:25095839831609-809787075531@192.168.15.46" target="_blank">25095839831609-809787075531@192.168.15.46</a><br>
User: <a href="mailto:230171@rcen-nt.ru" target="_blank">230171@rcen-nt.ru</a><br>
Contact: 230171 <a><sip:230171@192.168.15.46:5060></a><br>
Agent: Greenlite ATOM V2.0<br>
Status: Registered(UDP)(unknown) EXP(2011-11-22 10:18:29)
EXPSECS(87)<br>
Host: voip-gw<br>
IP: 192.168.15.46<br>
Port: 5060<br>
Auth-User: 230171<br>
Auth-Realm: <a href="http://rcen-nt.ru" target="_blank">rcen-nt.ru</a><br>
MWI-Account: <a href="mailto:230171@rcen-nt.ru" target="_blank">230171@rcen-nt.ru</a><br>
<br>
Call-ID: <a href="mailto:1577286384367-21354577016286@192.168.15.45" target="_blank">1577286384367-21354577016286@192.168.15.45</a><br>
User: <a href="mailto:230173@rcen-nt.ru" target="_blank">230173@rcen-nt.ru</a><br>
Contact: 230173 <a><sip:230173@192.168.15.45:5060></a><br>
Agent: Greenlite ATOM V2.0<br>
Status: Registered(UDP)(unknown) EXP(2011-11-22 10:18:29)
EXPSECS(87)<br>
Host: voip-gw<br>
IP: 192.168.15.45<br>
Port: 5060<br>
Auth-User: 230173<br>
Auth-Realm: <a href="http://rcen-nt.ru" target="_blank">rcen-nt.ru</a><br>
MWI-Account: <a href="mailto:230173@rcen-nt.ru" target="_blank">230173@rcen-nt.ru</a><br>
<br>
Call-ID: <a href="mailto:59571353025698-224172903926056@192.168.15.43" target="_blank">59571353025698-224172903926056@192.168.15.43</a><br>
User: <a href="mailto:230174@rcen-nt.ru" target="_blank">230174@rcen-nt.ru</a><br>
Contact: 230174 <a><sip:230174@192.168.15.43:5060></a><br>
Agent: Greenlite ATOM V2.0<br>
Status: Registered(UDP)(unknown) EXP(2011-11-22 10:18:33)
EXPSECS(91)<br>
Host: voip-gw<br>
IP: 192.168.15.43<br>
Port: 5060<br>
Auth-User: 230174<br>
Auth-Realm: <a href="http://rcen-nt.ru" target="_blank">rcen-nt.ru</a><br>
MWI-Account: <a href="mailto:230174@rcen-nt.ru" target="_blank">230174@rcen-nt.ru</a><br>
<br>
Total items returned: 5<br>
=================================================================================================<br>
<br>
freeswitch@internal> sofia_contact 230171<br>
error/user_not_registered<br>
<br>
freeswitch@internal> sofia_contact <a href="mailto:230171@rcen-nt.ru" target="_blank">230171@rcen-nt.ru</a><br>
error/user_not_registered<br>
<br>
freeswitch@internal> sofia_contact <a href="mailto:internal/230171@rcent-nt.ru" target="_blank">internal/230171@rcent-nt.ru</a><br>
error/user_not_registered<br>
<br>
freeswitch@internal> sofia_contact internal/230171<br>
sofia/internal/<a>sip:230171@192.168.15.46:5060</a><br>
<br>
freeswitch@internal> version<br>
FreeSWITCH Version 1.0.head (git-cdabd56 2011-11-17 08-23-21 +0100)<br>
<br>
<br>
<blockquote type="cite"><br>
<br>
<div class="gmail_quote">On Sun, Nov 20, 2011 at 9:01 PM, Boris
Kovalenko <span dir="ltr"><<a href="mailto:boris@tagnet.ru" target="_blank">boris@tagnet.ru</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello!<br>
<br>
My FS has different sip profiles (internet, local net, dmz
etc).<br>
There is some type of mobile users that may register with any
profile.<br>
So, is there a simple way to call registered user without
known on which<br>
profile it has registered? AFAIK sofia_contact need profile
and user/ is<br>
looking in profile of incoming call.<br>
</blockquote>
<div>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.</div>
<div><br>
</div>
<div>-MC</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
</blockquote><font color="#888888">
<br>
<br>
<pre cols="72">--
С уважением,
Борис Коваленко
ЗАО "Тагнет"
тел. <a href="tel:%2B7%20%283435%29%20230001" value="+73435230001" target="_blank">+7 (3435) 230001</a>
факс <a href="tel:%2B7%20%283435%29%20230005" value="+73435230005" target="_blank">+7 (3435) 230005</a>
</pre>
</font></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>