[OpenSIPS-Users] SIP trunk provider lab

Robert Borz robert.borz at web.de
Tue Apr 21 10:46:46 CEST 2009


Hi Bogdan,

could you be more specific here, please?

I want to setup a similar configuration. I want to forward let's say 300 numbers (sip accounts) to a single SIP account without loosing the R-URI, because the box receiving the forwarded calls should be able to distinct which number was dialed. What do I have to insert in the alias table to do this:

1000 at domain.de
1001 at domain.de
1002 at domain.de	-- forward to ---> userXY at domain.de
...
1010 at domain.de

Another thing I'm currently completely lost in is how to handle the outgoing part. userXY at domain.de should be able to place outgoing calls with the originator set to one of the 1000 at domain.de ... 1010 at domain.de addresses.

How can I achieve this behaviour? Thanks a lot!


Regards,
Robert


-----Original Message-----
From: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu
Sent: Monday, March 16, 2009 9:14 AM
To: home at elnour.biz
Cc: users at lists.opensips.org
Subject: Re: [OpenSIPS-Users] SIP trunk provider lab

Hi Elnor,

home at elnour.biz wrote:
> Hi,
>
> thank you for your response!
> correct me if I'm wrong, but aren't we going to loose dest phone number if 
> we use dbaliases?
>   
Not necessary - depends of how you define the alias. For ex, you can do:
    DID at server -> DID@ trunk

preserve the username part and change only the domain to point to the trunk.


Also, if you have blocks of DIDs which are easy to detect based on 
regexp, you may consider using the dialplan module:
       http://www.opensips.org/html/docs/modules/1.4.x/dialplan.html

See example 1.4.1.2 - 
http://www.opensips.org/html/docs/modules/1.4.x/dialplan.html#id227187

Regards,
Bogdan

> Also please provide hints on ENUM, how do I use it for this purpose?
>
> Thank you.
>
> Elnour
>
>
> ----- Original Message ----- 
> From: "Iñaki Baz Castillo" <ibc at aliax.net>
> To: <users at lists.opensips.org>
> Sent: Saturday, March 14, 2009 3:59 PM
> Subject: Re: [OpenSIPS-Users] SIP trunk provider lab
>
>
>   
>> El Sábado, 14 de Marzo de 2009, home at elnour.biz escribió:
>>     
>>> if we have a SIP subscriber registered with a user name companyA which 
>>> has
>>> 8 DID phone lines from PSTN say 5551001-08, our setup should dynamicaly
>>> route all incomming calls to the "location" of the regisration.
>>>
>>> Is this possbile? I mean is this possible to achive dynamicaly?
>>>       
>> Of course, use ENUM or dbaliases.
>>
>>
>> -- 
>> Iñaki Baz Castillo
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>> !DSPAM:49bb9c46608611888415445!
>>
>>
>>     
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


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




More information about the Users mailing list