danial,<br><br>i need to use database and also i have to convert protocol<br><br>Just give me some answer :<br><br>1. is there any other way to convert protocol like :<br>$dP = "udp"; //it also give syntex <br>
in that case i can use t_relay();<br><br>2. why t_relay_to_udp($var(test))/t_relay_to_udp($rd,$rp); is giving syntax error ?<br> OR<br>Is t_relay_to_udp($var(test))/t_relay_to_udp($rd,$rp) can take input other than static string ?<br>
<br><br>any suggestion is appreciated.<br><br>thanks<br><br><br><br><div class="gmail_quote">On Thu, Nov 5, 2009 at 1:35 PM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">don't forget -- always cc the mailing list.<div class="im"><br>
<br>
<br>
On 05.11.2009 5:39 Uhr, GEMINORIUM crux wrote:<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
Daniel,<br>
i am transferring tls protocol to udp protocol,<br>
sorry, i don't mention it.<br>
<br>
client <---tls----> kamilio <----udp---> asterisk<br>
<br>
thanks for your reply.<br>
<br>
<br></div><div class="im">
On Wed, Nov 4, 2009 at 7:38 PM, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a> <mailto:<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>>> wrote:<br>
<br>
Hello,<br>
<br>
<br>
On 04.11.2009 14:34 Uhr, GEMINORIUM crux wrote:<br>
<br>
hi,<br>
i am new to kamailio,<br>
<br>
getting syntax error:<br>
$var(test) = "udp:"+$rd+":"+$rp;<br>
t_relay_to_udp($var(test));<br>
<br>
t_relay_to_udp($rd,$rp);<br>
<br>
working with string.<br>
<br>
is there any reason ? how to resolve it ?<br>
i have to use database so i need to use variable.<br>
<br>
any suggestion is appreciated.<br>
<br>
you have to do:<br>
<br>
$du = "sip:"+$rd+":"+$rp;<br>
t_relay();<br>
<br>
Cheers,<br>
Daniel<br>
<br>
-- Daniel-Constantin Mierla<br>
* <a href="http://www.asipto.com/" target="_blank">http://www.asipto.com/</a><br>
<br>
<br>
</div></blockquote><div><div></div><div class="h5">
<br>
-- <br>
Daniel-Constantin Mierla<br>
* <a href="http://www.asipto.com/" target="_blank">http://www.asipto.com/</a><br>
<br>
</div></div></blockquote></div><br>