[Serusers] Replacing URI
Mark Wehberg
mark.wehberg at clearviewcatv.net
Fri Jun 25 18:56:43 CEST 2004
Can you use sed in the exec_dset() command?
-mark
-----Original Message-----
From: serusers-bounces at iptel.org [mailto:serusers-bounces at lists.iptel.org] On
Behalf Of Mark Wehberg
Sent: Friday, June 25, 2004 10:27 AM
To: serusers at lists.iptel.org
Subject: [Serusers] Replacing URI
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/55a4b13d/attachment.htm>
More information about the sr-users
mailing list