[Spce-user] rewrite rule help

Carsten Bock carsten at ng-voice.com
Tue Aug 23 04:55:37 EDT 2011


Hi,

here's what you can do:
You can just add some inbound rewrite rules to SIP-Domain. I use this
feature, to provide individual dialing patterns per SIP-Domain (e.g.
one SIP-Domain hat *1212 for Voicemail, the other has 333 for
Voicemail, the other has... you get the idea):

Match-Pattern: “^\*98$”
Rewrite-Rule: 2000

Now everyone can still use *1212 (or the new 333) for voicemail…
I've documented some more examples, of stuff you can do with inbound
rewrite-rules in my blog:
http://www.ng-voice.com/2011/08/pretty-cool-using-inbound-rewrite-rules-of-spce-to-fix-compability-issues/

Carsten


2011/8/20 Skyler <skchopperguy at gmail.com>:
> Hi,
>
>  I'm trying to make a domain rewrite rule and failing horribly.
>
> Trying to match pattern *98 and replace with 2000 for voicemail. I know
> there is a way because I did this before in 2.1 but now I've forgotten
> how I did it :(
>
> Any ideas?
>
> S.
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user
>



-- 
Carsten Bock
http://www.ng-voice.com
mailto:carsten at ng-voice.com

Schomburgstr. 80
22767 Hamburg
Germany

Mobile +49 179 2021244
Office +49 40 34927219
Fax +49 40 34927220

~~~~~~~~~~~~~~~~~~~~
Upcoming Events: "10 years of SER" in Berlin on September 2nd, 2011 (@
Fraunhofer Institute, Berlin):
http://sip-router.org/10-years-ser/




More information about the Spce-user mailing list