[Users] forward_tcp

Klaus Darilion klaus.mailinglists at pernau.at
Wed Jan 25 19:21:23 CET 2006


Hi!

If the destination is stored in an AVP, use avp_pushto 
(http://openser.org/docs/modules/1.0.x/avpops.html#AEN291) to push the 
new URI into the request URI.

Then use t_relay (make sure the URI contains a transport=tcp parameter).

If the destination is static, use t_relay_to_tcp(ip, port)
http://openser.org/docs/modules/1.0.x/tm.html#AEN320

regards
klaus



Ramin Dousti wrote:
> Hello,
> 
> I'm trying to forward a SIP message that's been received by UDP, to
> $td through TCP. but the following configuration doesn't work:
> 
>                send_tcp("$td", 5060 );
> or
>                send_tcp($td, 5060 );
> or
>                 avp_printf("s:dst", "$td");
>                 send_tcp("s:dst", 5060 );
> 
> Could you please help?
> 
> --
> Ramin
> 
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
> 
> 





More information about the Users mailing list