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


_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to