Hi All,

I have written a module on Kamailio that would intercept all INVITE Messages and reply with 3xx or 4xx based on rules set for subscriber. The module is a perl script that would act on DB and return based on sbcr preferences. When responding i need to edit the To header to strip off country code from it.How do i do it?

i saw uac module has options to do it via uac_replace_to(display,uri) and did the same in kamailio.cfg

but the message is still going with out changes?Any suggestions on the same would be highly appreciated

Thanks in advance
Arav