Hi All,<div><br></div><div>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?</div>
<div><br></div><div>i saw uac module has options to do it via <code class="function" style="color:rgb(153,0,0);font-family:Helvetica,Arial;font-size:medium;background-color:rgb(239,248,248)"><a href="http://kamailio.org/docs/modules/stable/modules/uac.html#id2494560" style="color:rgb(153,0,0);font-family:Helvetica,Arial;font-size:medium;background-color:rgb(239,248,248)">uac_replace_to(display,uri)</a> and did the same in kamailio.cfg</code></div>
<div><br></div><div>but the message is still going with out changes?Any suggestions on the same would be highly appreciated</div><div><br></div><div>Thanks in advance</div><div>Arav</div>