If you add another branch, you should also be able to add uri params, so
it shouldn't be a problem.
You can send to a route from failure route and use the function there.
g-)
Zappasodi Daniele wrote:
thanks It works,
but why it can be used only in ROUTE?
is there any problem if I add "transport=tcp" from failure_route
enabling add_uri_param of the uri module or building something similar
to add_uri_param in a new module?
-----Messaggio originale-----
Da: Greger V. Teigre [mailto:greger@teigre.com]
Inviato: mar 26/06/2007 15.31
A: Zappasodi Daniele
Cc: serusers(a)lists.iptel.org
Oggetto: Re: [Serusers] t_relay_to_tcp/udp/tls
add_uri_param("transport=tcp");
Zappasodi Daniele wrote:
Hello,
Is it possible to choose the protocol, without specifying the
destination as we do with the t_relay()?
With the t_relay_to_[tcp|udp|tls] I can choose the protocol but I must
specify a destination address in the config file.
Thanks
**********************************************************************
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
message
by anyone else is unauthorized. If you are not
the intended
recipient, any
disclosure, copying, or distribution of the
message, or any action or
omission taken by you in reliance on it, is prohibited and may be
unlawful.
Please immediately contact the sender if you have
received this
message inerror.
**********************************************************************
------------------------------------------------------------------------
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
**********************************************************************
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this message
by anyone else is unauthorized. If you are not the intended recipient, any
disclosure, copying, or distribution of the message, or any action or
omission taken by you in reliance on it, is prohibited and may be unlawful.
Please immediately contact the sender if you have received this message inerror.
**********************************************************************
------------------------------------------------------------------------
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers