Hi,
I want to know if it is possible to pass
psuedo-variables, or avp variables insdie t_relay()
function.
Here is what I tried:
t_relay("tcp:$rd:$rp");
t_relay("tcp:\$rd:"\$rp");
avp_write("$rd", "$avp(reqhost)");
avp_write("$rp", "$avp(reqport)");
t_relay("tcp:$avp(reqhost):$avp(reqport)");
Then, I got the following error:
ERROR: parse_phostport: bad port number in ....
ERROR:tm:fixup_phohstport2proxy: invalid parameter...
ERROR: fix_actions: fixing failed (code=-1) at cfg
line 513
Is there any way to solve this problem?
I want to do this in order to specify which protocol
to use for sending the SIP Request using the Req-URI
domain and port.
Thanks,
Vivek
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users