Hi,
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:
http://www.opensips.org/html/docs/modules/2.3.x/uac_registrant.html

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  http://www.opensips-solutions.com
OpenSIPS Summit 2018
  http://www.opensips.org/events/Summit-2018Amsterdam

On 04/04/2018 08:46 AM, Atux Atux wrote:
Thanks a lot for the answers. I am have a couple of providers that offers sip trunks in the format:
username, password, domain, did
john, whateverpass, sip.domaina.com <http://sip.domaina.com>,00498970043400-9
tuxies, mypass, sip.domainb.com <http://sip.domainb.com>,0049394563400-9

my extensions in the LAN are in the format 1XXX and i would like to route incoming outgoing the following scheme
00498970043400 ->1000
00498970043401 ->1001
00498970043402 ->1002
00498970043403 ->1003
00498970043404 ->1004
00498970043405 ->1005
00498970043406 ->1006
00498970043407 ->1007
00498970043408 ->1008
00498970043409 ->1009

0049394563400 ->1010
0049394563401 ->1011
0049394563402 ->1012
0049394563403 ->1013
0049394563404 ->1014
0049394563405 ->1015
0049394563406 ->1016
0049394563407 ->1017
0049394563408 ->1018
0049394563409 ->1019

this is the incoming/outgoing that i would like to setup, please.


On Tue, Apr 3, 2018 at 7:13 PM, Aqs Younas <aqsyou...@gmail.com <mailto:aqsyou...@gmail.com>> wrote:

    You can use permission module for ip authentication. If you want
    to register opensips with gateway below module might help you.
    http://www.opensips.org/html/docs/modules/2.2.x/uac_registrant.html
    <http://www.opensips.org/html/docs/modules/2.2.x/uac_registrant.html>

    For routing DIDs to extensions check db_alias module for that.

    On Tue, 3 Apr 2018, 6:41 pm Atux Atux, <atuxn...@gmail.com
    <mailto:atuxn...@gmail.com>> wrote:

        Hi. Baby steps with opensips and i managed to make all
        softclients in LAN to talk to each other through accounts
        created in opensips.
        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.

        _______________________________________________
        Users mailing list
        Users@lists.opensips.org <mailto:Users@lists.opensips.org>
        http://lists.opensips.org/cgi-bin/mailman/listinfo/users
        <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>


    _______________________________________________
    Users mailing list
    Users@lists.opensips.org <mailto:Users@lists.opensips.org>
    http://lists.opensips.org/cgi-bin/mailman/listinfo/users
    <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>




_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to