[Serusers] Replacing URI

Mark Wehberg mark.wehberg at clearviewcatv.net
Fri Jun 25 16:26:38 CEST 2004


Hello Everyone,

 

I am trying to change the URI within the ser.cfg using the replace
command.  Has anyone done this before?  What I need to do is strip some
of the info after the "@" and forward the message back out.  So, I can't
necessarily use the rewritehostport (or rewritehost, rewriteport)
commands.  Ay help would be greatly appreciated..

 

Simple Example

 

INVITE sip:mark at sip.abc.def.com:5060  

 

Want to change to 

 

INVITE sip:mark at sip.def.com:5060

 

 

Thanks,

Mark

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20040625/788cfe8a/attachment.htm>


More information about the sr-users mailing list