On 09/19/06 23:21, Ramin Dousti wrote:
Thanks, Daniel.
So according to the document forward_<proto>(host:port) becomes
foward(proto:host:port).
But how should I then create a string which replaces the argument of
forward_tcp(uri:host):
uri:host, uri:port have been eliminated, because when you
give no
parameter to forward(), same behavior happen. You can play with
rewriteuri() or setdsturi() to make combinations of how to forward the
request (or you can use avp_pushto() to achive similar results but with
more flexible parameters).
Cheers,
Daniel
forward("tcp:" . uri:host . ":5060");
with . being the concatenation function.
Ramin
On 9/19/06, Daniel-Constantin Mierla <daniel(a)voice-system.ro> wrote:
Hello,
there was a change in the format of forwarding functions (core and tm),
please see:
http://openser.org/dokuwiki/doku.php?id=migrating_openser_v1.0.x_to_v1.1.x
Cheers,
Daniel