[Users] Forwarding..

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Nov 15 13:57:12 CET 2005


Hi Sebastian,

not sure if you can do this - a kind of middle registrar; but you can 
try to experiment by using the latest UAC module which provides the FROM 
mangling and authentication features.
    http://www.openser.org/docs/modules/1.1.x/uac.html

regards,
bogdan

BASTARD Sebastien wrote:

> Ok, it seems to work...but I have another question:
> I would like to have a static configuration on the PC on a LAN with a 
> local account test1 at test.net <mailto:test1 at test.net>. There is openser 
> running on a computer of this LAN which is managing  domain test.net 
> <http://test.net>.
> I would like to have an association of accounts on the openser server 
> (I know asterisk is able to do it):
> SIP client connect to my local openser with account test1 at test.net 
> <mailto:test1 at test.net>
> OPENSER associates test1 at test.net <mailto:test1 at test.net> with 
> test1 at iptel.org <mailto:test1 at iptel.org> and inform iptel.org 
> <http://iptel.org> that this account is managed locally: it's like 
> openser act as a client / iptel ser server.
> Then I can be called from outside without problem.
>
> Do you think it's possible to do it or to implement a module for that.
>
> Thanks a lot for your help
> Sebastien
>
> On 11/9/05, *BASTARD Sebastien* <sebastien.bastard at gmail.com 
> <mailto:sebastien.bastard at gmail.com>> wrote:
>
>     Ok, i'm going to try.
>
>     Thanks for your help.
>
>     sebastien
>
>
>     On 11/8/05, *Bogdan-Andrei Iancu* < bogdan at voice-system.ro
>     <mailto:bogdan at voice-system.ro>> wrote:
>
>         Hi,
>
>         if I'm not wrong, you are talking about routing outbound requests
>         (requests which are not targeting your domain). If so, the
>         routing will
>         be done via DNS based on the domain name; you do not have to
>         specify
>         each of them. Just do like:
>
>             if (!uri==myself) {
>                # this is an outbound call
>                t_relay();
>                exit;
>             }
>             # process inbound calls
>             ........
>
>         regards,
>         bogdan
>
>         BASTARD Sebastien wrote:
>
>> Hi,
>>
>> I would like to make run openser as a sip client when a client is
>> connecting to it but with an unmanaged domain. I tried with the
>> following configuration but with no result:
>>
>>     if (!uri==myself) {
>>         # mark routing logic in request
>>         append_hf("P-hint: outbound\r\n");
>>         # if you have some interdomain connections via TLS
>>         if(uri=~" iptel.org <http://iptel.org>") {
>>             forward("iptel.org <http://iptel.org>",5060);
>>             exit;
>>         } #else if(uri=~"@tls_domain2.net") {
>>         #    t_relay_to_tls("IP_domain2","port_domain2");
>>         #    exit;
>>         #}
>>         route(1);
>>     };
>>
>> Thanks for any help.
>>
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Users mailing list
>>Users at openser.org <mailto:Users at openser.org>
>> http://openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
>





More information about the Users mailing list