Dial Plan Nortel and Rauland R5

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
zoldy
Posts: 20
Joined: Fri Jan 29, 2010 7:20 am

Dial Plan Nortel and Rauland R5

Post by zoldy »

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
Posts: 237
Joined: Sat Mar 15, 2008 10:39 pm

Post by 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
Posts: 20
Joined: Fri Jan 29, 2010 7:20 am

Post by zoldy »

That is correct here are more examples.

103882940
103*88294*0

1015642
101*564*2

19945159
199*4515*9

thanks
taitan
Posts: 237
Joined: Sat Mar 15, 2008 10:39 pm

Post by 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
Posts: 20
Joined: Fri Jan 29, 2010 7:20 am

Post by zoldy »

okay great thank you
zoldy
Posts: 20
Joined: Fri Jan 29, 2010 7:20 am

Post by zoldy »

Just trying this rule today finally. I get an error no matching pattern.
zoldy
Posts: 20
Joined: Fri Jan 29, 2010 7:20 am

Post by 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
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by 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
Posts: 20
Joined: Fri Jan 29, 2010 7:20 am

Post by 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
Posts: 20
Joined: Fri Jan 29, 2010 7:20 am

Post by 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
Posts: 20
Joined: Fri Jan 29, 2010 7:20 am

Post by zoldy »

Changed line in matching pattern to this and it works now.

To = sip:(...)(.+)(.)@
james
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by james »

Glad to know it.
It seems CS1000 doesn't put "phone-context" parameter in SIP-URI.
Post Reply