<div dir="ltr"><div>Hi. I have seen that page. Since i have not any experience with Opensips, i am asking for an example.<br></div>is there any example to setup my sip provider and the incoming/outgoing DID one to one to extension, please?<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 4, 2018 at 6:52 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</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">
    <tt>Hi,<br>
      So that means you need to register with them, right ? if so, take
      a look at the uac_registrant module, that makes OpenSIPS to
      register as UAC to another SIP server:<br>
         
      <a class="m_232308437275508753moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/2.3.x/uac_registrant.html" target="_blank">http://www.opensips.org/html/<wbr>docs/modules/2.3.x/uac_<wbr>registrant.html</a><br>
      <br>
      Regards,<br>
    </tt>
    <pre class="m_232308437275508753moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="m_232308437275508753moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a>
OpenSIPS Summit 2018
  <a class="m_232308437275508753moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2018Amsterdam" target="_blank">http://www.opensips.org/<wbr>events/Summit-2018Amsterdam</a>
</pre><div><div class="h5">
    <div class="m_232308437275508753moz-cite-prefix">On 04/04/2018 08:46 AM, Atux Atux
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>Thanks a lot for the answers. I am have a couple of
              providers that offers sip trunks in the format:<br>
            </div>
            username, password, domain, did<br>
          </div>
          john, whateverpass, <a href="http://sip.domaina.com" target="_blank">sip.domaina.com</a>,<wbr>00498970043400-9<br>
          tuxies, mypass, <a href="http://sip.domainb.com" target="_blank">sip.domainb.com</a>,0049394563400-<wbr>9<br>
          <br>
        </div>
        <div>my extensions in the LAN are in the format 1XXX and i would
          like to route incoming outgoing the following scheme<br>
          00498970043400
          ->1000<br>
          00498970043401
          ->1001<br>
          00498970043402
          ->1002<br>
          00498970043403
          ->1003<br>
          00498970043404
          ->1004<br>
          00498970043405
          ->1005<br>
          00498970043406
          ->1006<br>
          00498970043407
          ->1007
          <br>
          00498970043408
          ->1008<br>
          00498970043409
          ->1009<br>
          <br>
          0049394563400
          ->1010<br>
        </div>
        <div class="gmail_extra">
          0049394563401
          ->1011<br>
          0049394563402
          ->1012
          <br>
          0049394563403
          ->1013
          <br>
          0049394563404
          ->1014
          <br>
          0049394563405
          ->1015
          <br>
          0049394563406
          ->1016
          <br>
          0049394563407
          ->1017
          <br>
          0049394563408
          ->1018
          <br>
          0049394563409
          ->1019
          <br>
          <br>
        </div>
        <div class="gmail_extra">this is the incoming/outgoing that i
          would like to setup, please.<br>
        </div>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">On Tue, Apr 3, 2018 at 7:13 PM, Aqs
            Younas <span dir="ltr"><<a href="mailto:aqsyounas@gmail.com" target="_blank">aqsyounas@gmail.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div dir="auto">You can use permission module for ip
                authentication. If you want to register opensips with
                gateway below module might help you. 
                <div dir="auto"><a href="http://www.opensips.org/html/docs/modules/2.2.x/uac_registrant.html" target="_blank">http://www.opensips.org/html/d<wbr>ocs/modules/2.2.x/uac_registra<wbr>nt.html</a><br>
                </div>
                <div dir="auto"><br>
                </div>
                <div dir="auto">For routing DIDs to extensions check
                  db_alias module for that. </div>
              </div>
              <br>
              <div class="gmail_quote"><span>
                  <div dir="ltr">On Tue, 3 Apr 2018, 6:41 pm Atux Atux,
                    <<a href="mailto:atuxnull@gmail.com" target="_blank">atuxnull@gmail.com</a>>
                    wrote:<br>
                  </div>
                </span>
                <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>
                    <div dir="ltr">
                      <div>
                        <div>Hi. Baby steps with opensips and i managed
                          to make all softclients in LAN to talk to each
                          other through accounts created in opensips.<br>
                        </div>
                        i would like to know how can i register to a sip
                        provider that offers a sip trunk with DIDs to
                        me, eg Voipgate. Then i would like to route each
                        DID to extensions. 1 DID to 1 extension, please.<br>
                      </div>
                      <br>
                    </div>
                  </span><span>
                    ______________________________<wbr>_________________<br>
                    Users mailing list<br>
                    <a href="mailto:Users@lists.opensips.org" rel="noreferrer" target="_blank">Users@lists.opensips.org</a><br>
                    <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
                  </span></blockquote>
              </div>
              <br>
              ______________________________<wbr>_________________<br>
              Users mailing list<br>
              <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
              <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
              <br>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="m_232308437275508753mimeAttachmentHeader"></fieldset>
      <br>
      <pre>______________________________<wbr>_________________
Users mailing list
<a class="m_232308437275508753moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_232308437275508753moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>