Forums Read-only archive

Dial Plan Nortel and Rauland R5

12 posts · Brekeke SIP Server Forum

zoldy Original post
1. Brekeke Product Name and Version:
SIP Server
2. Java version:

3. OS type and the version:
Windows 2008
4. UA (phone), gateway or other hardware/software involved:
CS1000
5. Your problem:

In past when dialing back from CS1000 to Rauland R5 we have needed to insert an asterisk in the dial string. In this particular case I need to insert 2 of them. I need to know if this is possible. Below is an example dial plan inserting one asterisk.

What I need to do now is insert one asterisk after the third digit. And one asterisk before the last digit. Is this possible? They will not always be the same number of digits but I always need them inserted in the same position each time.

Matching Patterns
$request=^INVITE
To=sip:..(.+)(.);phone-context

Deploy Patterns
To==sip:%1*%2@
$auth=false
&net.sip.replacesdp.multipart=true
$session=sdp
&sdp.audio.a.1=ptime:20
taitan
> What I need to do now is insert one asterisk after the third digit.
> And one asterisk before the last digit.

Any example?

How about this?
Before: 123456
After: 123*45*6
zoldy
That is correct here are more examples.

103882940
103*88294*0

1015642
101*564*2

19945159
199*4515*9

thanks
taitan
This rule will work.
[Matching Patterns]
$request = ^INVITE
To = sip:(...)(.*)(.);phone-context

[Deploy Patterns]
To = sip:%1*%2*%3@
$auth = false
&net.sip.replacesdp.multipart = true
$session = sdp
&sdp.audio.a.1 = ptime:20
zoldy
okay great thank you
zoldy
Just trying this rule today finally. I get an error no matching pattern.
zoldy
Any ideas on this no matter what I try it says no matched rules. I tried changing the line to this below just as a test. Making it a fixed number of characters and even this says no matched rules.

$request = ^INVITE
To = sip:(...)(...)(.);phone-context
james
Can you find a call attempt in the [Dial Plan]->[History] page?
If you click the No.# filed, the packet will be shown.

Paste the "From" and "To" headers here.
zoldy
I just placed a test call. Under the log file I see "No matched rules"... I checked under the history tab under the dial plan and there is nothing in there for this call.
zoldy
I can see from the error log the To URI is ... I blanked out the actual IP address

sip:1102011@xx.xx.x.xx
zoldy
Changed line in matching pattern to this and it works now.

To = sip:(...)(.+)(.)@
james
Glad to know it.
It seems CS1000 doesn't put "phone-context" parameter in SIP-URI.