...
No Format |
---|
# check for requests targeted out of our domain if (!uri==myself) { # mark routing logic in request append_hf("P-hint: outbound\r\n"); # if you have some interdomain connections via TLSdestination DomainA if(uri=~"@domainA.net") { t_relay("tls:sipserver.domainA.net:5061"); xlog("L_INFO", "Time [%Tf] Route to ces.net :%rm RURI:%ru FROM:%fu TO:%tu \n buffer %mb \n flags \n %mf \n"); exit; } else if(uri=~"@domainB.net") { t_relay("tls:sipserver.domainB.net:5061"); xlog("L_INFO", "Time [%Tf] Route to ten.cz :%rm RURI:%ru FROM:%fu TO:%tu \n buffer %mb \n flags \n %mf \n"); exit; } route(1); }; |
...