[sr-dev] Question on Kamailio module

Aravindan G aravindan.g at gmail.com
Tue Mar 19 06:00:08 CET 2013


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)<http://kamailio.org/docs/modules/stable/modules/uac.html#id2494560>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20130319/dcaeade2/attachment.htm>


More information about the sr-dev mailing list