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

Benko benkokakao at gmail.com
Fri Mar 30 16:10:35 CEST 2007


Ah, cool, thx!

On Fri, 30 Mar 2007 16:56:29 +0300
Bogdan-Andrei Iancu <bogdan at voice-system.ro> wrote:

> 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