[Users] forward_tcp
Daniel-Constantin Mierla
daniel at voice-system.ro
Sun Feb 26 16:05:26 CET 2006
upss, sorry, messed the message thread and i believed that was not
answered -- but it was, by me as well -- just ignore.
On 02/26/06 17:03, Daniel-Constantin Mierla wrote:
> Hello,
>
> On 01/25/06 18:01, 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?
>>
> send_tcp() has no support for pseudo-variables. Why are you using
> send_tcp()? Is it a reason for it? Using forward() you can do:
>
> with openser 1.0.0
>
> avp_printf("s:dst", "$td");
> avp_pushto("$duri", "s:dst");
> forward_tcp(uri:host, uri:port);
>
> with openser devel:
>
> avp_pushto("$du", "$td");
> forward_tcp(uri:host, uri:port);
>
> Cheers,
> Daniel
>
>
>>
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list