<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    @Antonio and @Victor thank you very much!<br>
    <br style="color: rgb(0, 0, 0); font-family: arial; font-style:
      normal; font-variant: normal; font-weight: normal; letter-spacing:
      normal; line-height: normal; orphans: 2; text-align: -webkit-auto;
      text-indent: 0px; text-transform: none; white-space: normal;
      widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto;
      -webkit-text-stroke-width: 0px; font-size: small; ">
    <span class="Apple-style-span" style="color: rgb(0, 0, 0);
      font-family: arial; font-style: normal; font-variant: normal;
      font-weight: normal; letter-spacing: normal; line-height: normal;
      orphans: 2; text-align: -webkit-auto; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 2;
      word-spacing: 0px; -webkit-text-size-adjust: auto;
      -webkit-text-stroke-width: 0px; font-size: small; display: inline
      !important; float: none; ">Now it work. Just no let you know. I
      have also put this subnet to ACL domains part (&lt;list
      name="domains" default="deny"&gt;)</span><br style="color: rgb(0,
      0, 0); font-family: arial; font-style: normal; font-variant:
      normal; font-weight: normal; letter-spacing: normal; line-height:
      normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 2;
      word-spacing: 0px; -webkit-text-size-adjust: auto;
      -webkit-text-stroke-width: 0px; font-size: small; ">
    <span class="Apple-style-span" style="color: rgb(0, 0, 0);
      font-family: arial; font-style: normal; font-variant: normal;
      font-weight: normal; letter-spacing: normal; line-height: normal;
      orphans: 2; text-align: -webkit-auto; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 2;
      word-spacing: 0px; -webkit-text-size-adjust: auto;
      -webkit-text-stroke-width: 0px; font-size: small; display: inline
      !important; float: none; ">as otherwise it was automatically
      denied.</span><br>
    BR,<br>
    Miha<br>
    <br>
    <br>
    On 11/7/2011 4:17 PM, Victor Chukalovskiy wrote:
    <blockquote cite="mid:4EB7F672.6020902@utoronto.ca" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Hello Miha,<br>
      <br>
      Usually I do this to accept <i>incoming</i> calls from a specifc
      IP. No need to create a gateway:<br>
      <br>
      Create ACL:<br>
      &lt;list name="<b>strict</b>" default="<b>deny</b>"&gt; &lt;!--
      you likely had a mistake there by using allow as default --&gt;<br>
      &nbsp;&lt;node type="allow" cidr="172.31.1.90/29"/&gt;<br>
      &lt;/list&gt;<br>
      <br>
      In your SIP profile make use of this ACL:<br>
      &lt;param name="apply-inbound-acl" value="<b>strict</b>"/&gt;<br>
      <br>
      Then incoming calls will hit your public dial-plan.<br>
      <br>
      For <i>outbound</i>, you'll need to create a gateway with
      register=false.<br>
      <br>
      Regards,<br>
      Victor<br>
      <br>
      <br>
      On 11/07/2011 10:03 AM, Miha Zoubek wrote:
      <blockquote cite="mid:4EB7F343.7090803@softnet.si" type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        I deleted gw trunk profil sip_profiles.<br>
        <br>
        I have add in acl.conf.xml my domain:<br>
        <br>
        <small>&lt;list name="domains" default="deny"&gt;<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- domain= is special it scans the domain from the
          directory to build the ACL --&gt;<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;node type="allow" domain="xxx.xxx.xxx.xxxx/29" /&gt;<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;node type="allow" domain="$${domain}"/&gt;<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- use cidr= if you wish to allow ip ranges to this
          domains acl. --&gt;<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- &lt;node type="allow" cidr="192.168.0.0/24"/&gt;
          --&gt;<br>
          &nbsp;&nbsp;&nbsp; &lt;/list&gt;</small><br>
        <br>
        For xxx.xxx.xxx.xxx I tried to put ip and network but the error
        was always the same:<br>
        <br>
        <small>2011-11-07 15:18:57.966016 [CONSOLE] switch_core.c:1164
          Created ip list domains default (deny)<br>
          2011-11-07 15:18:57.966047 [WARNING] switch_core.c:1193 Cannot
          locate domain xxx.xxx.xxx.xxx/29</small><br>
        <br>
        P.s.: also add in public folder for dialplan.<br>
        <br>
        Please help me out!<br>
        <br>
        BR,<br>
        Miha<br>
        <br>
        <br>
        <br>
        On 11/7/2011 12:23 PM, Miha Zoubek wrote:
        <blockquote cite="mid:4EB7BFB9.5090300@softnet.si" type="cite">
          <meta content="text/html; charset=ISO-8859-1"
            http-equiv="Content-Type">
          Hi @<span style="font-family:
            Verdana,Arial,Helvetica,sans-serif;"><span style="font-size:
              small;">Avi</span></span>,<br>
          <br>
          now I am looking about this gw thing. This is trunk and we
          have only option without authentication (just ip).<br>
          Do I need to set up in sip_profiles gw? Or must I just allow
          it in ACL list and that with dialplan redirect to right phone
          number?<br>
          <br>
          I have put this in acl.conf.xml<br>
          <br>
          <small>&lt;list name="strict" default="allow"&gt;<br>
            &nbsp;&lt;node type="allow" cidr="172.31.1.90/29"/&gt;<br>
            &lt;/list&gt;</small><br>
          <br>
          and I get this after starting freeswitch, so I guess this is
          ok.<br>
          <small><br>
            2011-11-07 11:39:30.062345 [NOTICE] switch_utils.c:248
            Adding 172.31.1.90/29(allow) [] to list strict<br>
            2011-11-07 11:39:30.062351 [NOTICE] switch_core.c:1233
            Adding 172.31.1.90/29 (allow) to list strict</small><br>
          <br>
          Freeswitch log (why this ip is rejacted if i put it in ACL?):<br>
          <br>
          <small>2011-11-07 11:32:17.662016 [NOTICE]
            switch_loadable_module.c:254 Adding Application
            'auth_function'<br>
            2011-11-07 11:32:30.738908 [DEBUG] sofia.c:7269 IP&nbsp;
            172.31.1.90 Rejected by acl "domains". Falling back to
            Digest auth.</small><br>
          <br>
          P.s.: I tried with some usr/pass but also get error with
          connection to gw.<br>
          <br>
          Thank you for your help!<br>
          <br>
          BR,<br>
          Miha<br>
          <br>
          <br>
          On 11/7/2011 11:42 AM, Avi Marcus wrote:
          <blockquote
cite="mid:CALNZuwme2b-UKJk7aeP-TbJa0vRuFJG4FuXKeb0cKS5zqxV5MQ@mail.gmail.com"
            type="cite">
            <div dir="ltr">You are trying to register to somewhere? Then
              just set whatever for the username/pass, if the other side
              doesn't ask for authentication then you'll never provide
              the username/pass.
              <div>
                <div dir="ltr"> <span style="font-family:
                    Verdana,Arial,Helvetica,sans-serif;"><span
                      style="font-size: small;">-Avi</span></span></div>
                <br>
                <br>
                <div class="gmail_quote">On Mon, Nov 7, 2011 at 10:47
                  AM, Miha Zoubek <span dir="ltr">&lt;<a
                      moz-do-not-send="true"
                      href="mailto:miha@softnet.si">miha@softnet.si</a>&gt;</span>
                  wrote:<br>
                  <blockquote class="gmail_quote" style="margin: 0pt 0pt
                    0pt 0.8ex; border-left: 1px solid rgb(204, 204,
                    204); padding-left: 1ex;">
                    <div bgcolor="#FFFFFF" text="#000000"> <span
                        style="color: rgb(0, 0, 0); font-family: arial;
                        font-style: normal; font-variant: normal;
                        font-weight: normal; letter-spacing: normal;
                        line-height: normal; text-indent: 0px;
                        text-transform: none; white-space: normal;
                        word-spacing: 0px; font-size: small; display:
                        inline ! important; float: none;">Hi,</span><br
                        style="color: rgb(0, 0, 0); font-family: arial;
                        font-style: normal; font-variant: normal;
                        font-weight: normal; letter-spacing: normal;
                        line-height: normal; text-indent: 0px;
                        text-transform: none; white-space: normal;
                        word-spacing: 0px; font-size: small;">
                      <br style="color: rgb(0, 0, 0); font-family:
                        arial; font-style: normal; font-variant: normal;
                        font-weight: normal; letter-spacing: normal;
                        line-height: normal; text-indent: 0px;
                        text-transform: none; white-space: normal;
                        word-spacing: 0px; font-size: small;">
                      <span style="color: rgb(0, 0, 0); font-family:
                        arial; font-style: normal; font-variant: normal;
                        font-weight: normal; letter-spacing: normal;
                        line-height: normal; text-indent: 0px;
                        text-transform: none; white-space: normal;
                        word-spacing: 0px; font-size: small; display:
                        inline ! important; float: none;">we are having
                        all trunks on SBC without usr/pass.</span><br
                        style="color: rgb(0, 0, 0); font-family: arial;
                        font-style: normal; font-variant: normal;
                        font-weight: normal; letter-spacing: normal;
                        line-height: normal; text-indent: 0px;
                        text-transform: none; white-space: normal;
                        word-spacing: 0px; font-size: small;">
                      <span style="color: rgb(0, 0, 0); font-family:
                        arial; font-style: normal; font-variant: normal;
                        font-weight: normal; letter-spacing: normal;
                        line-height: normal; text-indent: 0px;
                        text-transform: none; white-space: normal;
                        word-spacing: 0px; font-size: small; display:
                        inline ! important; float: none;">If i left
                        param name and password empty I get&nbsp; ERROR:
                        username param is REQUIRED! and also same if I
                        delete this param usr/pass.</span><br
                        style="color: rgb(0, 0, 0); font-family: arial;
                        font-style: normal; font-variant: normal;
                        font-weight: normal; letter-spacing: normal;
                        line-height: normal; text-indent: 0px;
                        text-transform: none; white-space: normal;
                        word-spacing: 0px; font-size: small;">
                      <br style="color: rgb(0, 0, 0); font-family:
                        arial; font-style: normal; font-variant: normal;
                        font-weight: normal; letter-spacing: normal;
                        line-height: normal; text-indent: 0px;
                        text-transform: none; white-space: normal;
                        word-spacing: 0px; font-size: small;">
                      <span style="color: rgb(0, 0, 0); font-family:
                        arial; font-style: normal; font-variant: normal;
                        font-weight: normal; letter-spacing: normal;
                        line-height: normal; text-indent: 0px;
                        text-transform: none; white-space: normal;
                        word-spacing: 0px; font-size: small; display:
                        inline ! important; float: none;">How can I
                        configure GW sip trunk without password and
                        username. I would like to have only IP.</span><br
                        style="color: rgb(0, 0, 0); font-family: arial;
                        font-style: normal; font-variant: normal;
                        font-weight: normal; letter-spacing: normal;
                        line-height: normal; text-indent: 0px;
                        text-transform: none; white-space: normal;
                        word-spacing: 0px; font-size: small;">
                      <br style="color: rgb(0, 0, 0); font-family:
                        arial; font-style: normal; font-variant: normal;
                        font-weight: normal; letter-spacing: normal;
                        line-height: normal; text-indent: 0px;
                        text-transform: none; white-space: normal;
                        word-spacing: 0px; font-size: small;">
                      <span style="color: rgb(0, 0, 0); font-family:
                        arial; font-style: normal; font-variant: normal;
                        font-weight: normal; letter-spacing: normal;
                        line-height: normal; text-indent: 0px;
                        text-transform: none; white-space: normal;
                        word-spacing: 0px; font-size: small; display:
                        inline ! important; float: none;">Thank you!</span><br
                        style="color: rgb(0, 0, 0); font-family: arial;
                        font-style: normal; font-variant: normal;
                        font-weight: normal; letter-spacing: normal;
                        line-height: normal; text-indent: 0px;
                        text-transform: none; white-space: normal;
                        word-spacing: 0px; font-size: small;">
                      <span style="color: rgb(0, 0, 0); font-family:
                        arial; font-style: normal; font-variant: normal;
                        font-weight: normal; letter-spacing: normal;
                        line-height: normal; text-indent: 0px;
                        text-transform: none; white-space: normal;
                        word-spacing: 0px; font-size: small; display:
                        inline ! important; float: none;">BR,</span><br
                        style="color: rgb(0, 0, 0); font-family: arial;
                        font-style: normal; font-variant: normal;
                        font-weight: normal; letter-spacing: normal;
                        line-height: normal; text-indent: 0px;
                        text-transform: none; white-space: normal;
                        word-spacing: 0px; font-size: small;">
                      <span style="color: rgb(0, 0, 0); font-family:
                        arial; font-style: normal; font-variant: normal;
                        font-weight: normal; letter-spacing: normal;
                        line-height: normal; text-indent: 0px;
                        text-transform: none; white-space: normal;
                        word-spacing: 0px; font-size: small; display:
                        inline ! important; float: none;">Miha</span> </div>
                    <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>
            </div>
            <br>
            <fieldset class="mimeAttachmentHeader"></fieldset>
            <br>
            <pre wrap="">FreeSWITCH-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
          </blockquote>
          <br>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
          <pre wrap="">FreeSWITCH-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
        </blockquote>
        <br>
        <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>

FreeSWITCH-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">
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>
  </body>
</html>