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.