[Users] t_relay() with variables(proto:ip:port)

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Mar 30 15:56:29 CEST 2007


Hi Benko,

do the new support for script variables, you can write that even simpler:
    $duri= "sip:"+$avp(to_ip)+":"+$avp(to_port)+";transport=tcp";

 regards,
bogdan

Benko wrote:
> never mind, got it working with
>
> avp_printf("$avp(to_destination)", "sip:$avp(to_ip):$avp
> (to_port);transport=tcp");
> $duri= $avp(to_destination);
>
>
> thx for your kind support
> Christian
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>   





More information about the Users mailing list