<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello!<br>
    <br>
    freeswitch@internal&gt; eval ${domain}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
    rcen-nt.ru<br>
    freeswitch@internal&gt; expand sofia_contact 230172@${domain}<br>
    error/user_not_registered<br>
    <br>
    <br>
    <blockquote
cite="mid:CAKzWOxWmuf1eV=E9LS4OgzOsyeSWRmbegYtq0DN9ou_04vay4Q@mail.gmail.com"
      type="cite">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">&lt;<a moz-do-not-send="true"
              href="mailto:boris@tagnet.ru">boris@tagnet.ru</a>&gt;</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>
              &nbsp;&nbsp;&nbsp; Michael, please explain:<br>
              <br>
              sofia status profile internal reg<br>
              Registrations:<br>
=================================================================================================<br>
              Call-ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                href="mailto:15020233664170-17093105930554@192.168.15.48"
                target="_blank">15020233664170-17093105930554@192.168.15.48</a><br>
              User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                href="mailto:230172@rcen-nt.ru" target="_blank">230172@rcen-nt.ru</a><br>
              Contact:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 230172 <a moz-do-not-send="true">&lt;sip:230172@192.168.15.48:5060&gt;</a><br>
              Agent:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Greenlite ATOM V2.0<br>
              Status:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Registered(UDP)(unknown) EXP(2011-11-22
              10:18:19) EXPSECS(77)<br>
              Host:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; voip-gw<br>
              IP:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.15.48<br>
              Port:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5060<br>
              Auth-User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 230172<br>
              Auth-Realm:&nbsp;&nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                href="http://rcen-nt.ru" target="_blank">rcen-nt.ru</a><br>
              MWI-Account:&nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                href="mailto:230172@rcen-nt.ru" target="_blank">230172@rcen-nt.ru</a><br>
              <br>
              Call-ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                href="mailto:279492684728797-11326384312512@192.168.15.42"
                target="_blank">279492684728797-11326384312512@192.168.15.42</a><br>
              User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                href="mailto:230175@rcen-nt.ru" target="_blank">230175@rcen-nt.ru</a><br>
              Contact:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 230175 <a moz-do-not-send="true">&lt;sip:230175@192.168.15.42:5060&gt;</a><br>
              Agent:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Greenlite ATOM V2.0<br>
              Status:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Registered(UDP)(unknown) EXP(2011-11-22
              10:18:28) EXPSECS(86)<br>
              Host:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; voip-gw<br>
              IP:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.15.42<br>
              Port:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5060<br>
              Auth-User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 230175<br>
              Auth-Realm:&nbsp;&nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                href="http://rcen-nt.ru" target="_blank">rcen-nt.ru</a><br>
              MWI-Account:&nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                href="mailto:230175@rcen-nt.ru" target="_blank">230175@rcen-nt.ru</a><br>
              <br>
              Call-ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                href="mailto:25095839831609-809787075531@192.168.15.46"
                target="_blank">25095839831609-809787075531@192.168.15.46</a><br>
              User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                href="mailto:230171@rcen-nt.ru" target="_blank">230171@rcen-nt.ru</a><br>
              Contact:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 230171 <a moz-do-not-send="true">&lt;sip:230171@192.168.15.46:5060&gt;</a><br>
              Agent:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Greenlite ATOM V2.0<br>
              Status:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Registered(UDP)(unknown) EXP(2011-11-22
              10:18:29) EXPSECS(87)<br>
              Host:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; voip-gw<br>
              IP:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.15.46<br>
              Port:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5060<br>
              Auth-User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 230171<br>
              Auth-Realm:&nbsp;&nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                href="http://rcen-nt.ru" target="_blank">rcen-nt.ru</a><br>
              MWI-Account:&nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                href="mailto:230171@rcen-nt.ru" target="_blank">230171@rcen-nt.ru</a><br>
              <br>
              Call-ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                href="mailto:1577286384367-21354577016286@192.168.15.45"
                target="_blank">1577286384367-21354577016286@192.168.15.45</a><br>
              User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                href="mailto:230173@rcen-nt.ru" target="_blank">230173@rcen-nt.ru</a><br>
              Contact:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 230173 <a moz-do-not-send="true">&lt;sip:230173@192.168.15.45:5060&gt;</a><br>
              Agent:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Greenlite ATOM V2.0<br>
              Status:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Registered(UDP)(unknown) EXP(2011-11-22
              10:18:29) EXPSECS(87)<br>
              Host:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; voip-gw<br>
              IP:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.15.45<br>
              Port:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5060<br>
              Auth-User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 230173<br>
              Auth-Realm:&nbsp;&nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                href="http://rcen-nt.ru" target="_blank">rcen-nt.ru</a><br>
              MWI-Account:&nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                href="mailto:230173@rcen-nt.ru" target="_blank">230173@rcen-nt.ru</a><br>
              <br>
              Call-ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                href="mailto:59571353025698-224172903926056@192.168.15.43"
                target="_blank">59571353025698-224172903926056@192.168.15.43</a><br>
              User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                href="mailto:230174@rcen-nt.ru" target="_blank">230174@rcen-nt.ru</a><br>
              Contact:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 230174 <a moz-do-not-send="true">&lt;sip:230174@192.168.15.43:5060&gt;</a><br>
              Agent:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Greenlite ATOM V2.0<br>
              Status:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Registered(UDP)(unknown) EXP(2011-11-22
              10:18:33) EXPSECS(91)<br>
              Host:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; voip-gw<br>
              IP:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.15.43<br>
              Port:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5060<br>
              Auth-User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 230174<br>
              Auth-Realm:&nbsp;&nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                href="http://rcen-nt.ru" target="_blank">rcen-nt.ru</a><br>
              MWI-Account:&nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                href="mailto:230174@rcen-nt.ru" target="_blank">230174@rcen-nt.ru</a><br>
              <br>
              Total items returned: 5<br>
=================================================================================================<br>
              <br>
              freeswitch@internal&gt; sofia_contact 230171<br>
              error/user_not_registered<br>
              <br>
              freeswitch@internal&gt; sofia_contact <a
                moz-do-not-send="true" href="mailto:230171@rcen-nt.ru"
                target="_blank">230171@rcen-nt.ru</a><br>
              error/user_not_registered<br>
              <br>
              freeswitch@internal&gt; sofia_contact <a
                moz-do-not-send="true"
                href="mailto:internal/230171@rcent-nt.ru"
                target="_blank">internal/230171@rcent-nt.ru</a><br>
              error/user_not_registered<br>
              <br>
              freeswitch@internal&gt; sofia_contact internal/230171<br>
              sofia/internal/<a moz-do-not-send="true">sip:230171@192.168.15.46:5060</a><br>
              <br>
              freeswitch@internal&gt; 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">&lt;<a
                      moz-do-not-send="true"
                      href="mailto:boris@tagnet.ru" target="_blank">boris@tagnet.ru</a>&gt;</span>
                  wrote:<br>
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    Hello!<br>
                    <br>
                    &nbsp; &nbsp; 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 moz-do-not-send="true" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a moz-do-not-send="true" href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
              </blockquote>
              <font color="#888888"> <br>
                <br>
                <pre cols="72">-- 
&#1057; &#1091;&#1074;&#1072;&#1078;&#1077;&#1085;&#1080;&#1077;&#1084;,
  &#1041;&#1086;&#1088;&#1080;&#1089; &#1050;&#1086;&#1074;&#1072;&#1083;&#1077;&#1085;&#1082;&#1086;
  &#1047;&#1040;&#1054; "&#1058;&#1072;&#1075;&#1085;&#1077;&#1090;"
  &#1090;&#1077;&#1083;. <a moz-do-not-send="true" href="tel:%2B7%20%283435%29%20230001" value="+73435230001" target="_blank">+7 (3435) 230001</a>
  &#1092;&#1072;&#1082;&#1089; <a moz-do-not-send="true" 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 moz-do-not-send="true"
              href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
            <br>
            FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
            <a moz-do-not-send="true" href="http://www.cudatel.com"
              target="_blank">http://www.cudatel.com</a><br>
            <br>
            Official FreeSWITCH Sites<br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              target="_blank">http://www.freeswitch.org</a><br>
            <a moz-do-not-send="true" href="http://wiki.freeswitch.org"
              target="_blank">http://wiki.freeswitch.org</a><br>
            <a moz-do-not-send="true" href="http://www.cluecon.com"
              target="_blank">http://www.cluecon.com</a><br>
            <br>
            FreeSWITCH-users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
              target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
            UNSUBSCRIBE:<a moz-do-not-send="true"
              href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
              target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              target="_blank">http://www.freeswitch.org</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Regards,
Boris

</pre>
  </body>
</html>