Christian Schlatter schrieb: > Daniel Corbe wrote: >> So, externally I'm using DNS SRV records to get traffic to my proxy >> server. Once it hits my proxy server though, I want to preserve the >> domain name portion of the URI, but still route the traffic around from >> server to server. >> >> Currently I'm using rewritehostport to forward traffic onto another box. >> This of course changes the field I'm interested in preserving. Is there >> another way to route traffic around? > > Both t_relay() and forward() allow to specify a destination address that > is different from the request URI. Have a look at the examples in > > http://www.openser.org/docs/modules/1.2.x/tm.html#TRELAY-1 > > That should leave your R-URI intact.
You also can specify the destination URI: $du="sip:1.2.3.4;transport=whatever"; and then t_relay(); If a destination URI is set, then openser uses the DURI for routing instead of the RURI. regards klaus _______________________________________________ Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users