[Users] Forwarding..

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Nov 8 16:54:49 CET 2005


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
>http://openser.org/cgi-bin/mailman/listinfo/users
>  
>





More information about the sr-users mailing list