<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">sip.domaina.com</a>,00498970043400-9<br>tuxies, mypass, <a href="http://sip.domainb.com">sip.domainb.com</a>,0049394563400-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/<wbr>docs/modules/2.2.x/uac_<wbr>registrant.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 class=""><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 class=""><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 class="">
______________________________<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">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>