Hi
I am having the following problem. Can I use avp variable and rewritehostport function in this way:
exec_avp("pool2domain.py $tU", "$avp(s:domainport)"); rewritehostport("$avp(s:domainport)");
Script called from exec_avp returns the string sample.sip.domain:port and it is written to avp variable. Can I use this variable in rewritehospport function because kamailio does not rewrite the host and the port number
If I can not use it in this way is there any other solution.
Cheers Andrew