[Kamailio-Users] syntax error

Daniel-Constantin Mierla miconda at gmail.com
Wed Nov 4 14:38:56 CET 2009


Hello,

On 04.11.2009 14:34 Uhr, GEMINORIUM crux wrote:
> hi,
> i am new to kamailio,
>
> getting syntax error:
>  
> $var(test) =  "udp:"+$rd+":"+$rp;
> t_relay_to_udp($var(test));
>
> t_relay_to_udp($rd,$rp);
>
> working with string.
>
> is there any reason ? how to resolve it ?
> i have to use database so i need to use variable.
>
> any suggestion is appreciated.
you have to do:

$du = "sip:"+$rd+":"+$rp;
t_relay();

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
* http://www.asipto.com/




More information about the Users mailing list