[Serusers] t_relay_to_udp() method with ip address passed as avp? - ser 2_0_0

tzieleniewski tzieleniewski at o2.pl
Mon Apr 30 14:33:19 CEST 2007


Hi,

Is it possible to pass the ip address in the function t_relay_to_udp(..)
in the m module using avp.
For instance:

...
t_relay_to_udp("$relay_to_udp","5060");
...

When I try to do it this way I get the following error:
Apr 30 14:30:03 sen /home/ser/ser/ser-2.0/ser[7552]: Maxfwd module- initializing
Apr 30 14:30:03 sen ser[7552]: AVPops - initializing
Apr 30 14:30:03 sen ser[7552]: ERROR: mk_proxy: could not resolve hostname: "$relay_to_udp"
Apr 30 14:30:03 sen ser[7552]: ERROR: fixup_hostport2proxy: bad host name in URI <$relay_to_udp>
Apr 30 14:30:03 sen ser[7552]: ERROR: fix_expr : fix_actions error

Cheers 
Tomasz



More information about the sr-users mailing list