[Serusers] Replacing URI
Klaus Darilion
klaus.mailinglists at pernau.at
Fri Jun 25 19:10:57 CEST 2004
Take a look at the functions from the textops module.
Klaus
Mark Wehberg wrote:
> 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
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list