How strip * and # from dialing number

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
soylo
Posts: 59
Joined: Wed Mar 30, 2005 9:53 am

How strip * and # from dialing number

Post by soylo »

1. Brekeke Product Name and version:
2.3.7.4

2. Java version:
1.5.0_12
3. OS type and the version:
Windows 2003 standar

4. UA (phone), gateway or other hardware/software involved:
xlite
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html : pattern 4

6. Your problem:
calling From Xlite I dial number for example 413*3056 or *12344 or #678234 or 444#1234.

How is the dialplan to block with special characters?

The problems is that the web adminstration of BSS is down for few minutes when BSS receive those calls.

Calls to normal telephone number (i.e. numbers) works very well.
I am using BSS with RadiusCat.
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

create two dialplan in the order below:
1.
matching:
$request = ^INVITE
To = sip:([0-9]+)@

Deploy:
To = sip:%1@

2.
matching:
$request = ^INVITE

Deploy:
$action=603
soylo
Posts: 59
Joined: Wed Mar 30, 2005 9:53 am

Post by soylo »

thanks for your answer,

my dialplan begin (first line) with this:

Matching Patterns
$request=^INVITE

Deploy Patterns
$session=com.sample.radius.proxy.RadiusAcct
$continue=true

and I have create the 2 dialplan like you said me, but always sip server send to radius dialing number with * and #
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

change your first dial plan as
Matching Patterns
$request=^INVITE
To = sip:([0-9]+)@

Deploy Patterns
$session=com.sample.radius.proxy.RadiusAcct
$continue=true
soylo
Posts: 59
Joined: Wed Mar 30, 2005 9:53 am

Post by soylo »

I change dialplan like you say but No work. The BSS keep on sending invite to radiuscat the dialing number like *421234
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

did you click apply rules button after changing dialplan?
Is there any other dial plan the call may apply?
soylo
Posts: 59
Joined: Wed Mar 30, 2005 9:53 am

block * and #

Post by soylo »

Yes, I made apply before test, but, No work keep on pass *12345 and sip web administration get too slow and shows messege NO RESPONSE FROM SIP.

My dialplan is:

Match 1
$request=^INVITE
To:([0-9]+)@

Deploy1
$session=com.sample.radius.proxy.RadiusAcct
$continue=true

Match2
$request=^INVITE
From=sip:180014@

Deploy2
$rtp=off
$nat=off
$continue=true

Match3
$request=^INVITE
To=sip:(5119)(94[012]|98[13]|982[2-9]|800[012]|81[0-5])(.+)@

Deply3
To=sip:000%1%2%3@10.10.0.203
&net.sip.timeout.inviting=30000

I tried else this:

Match1
$request=^INVITE
To=sip:([\*\#].+)@

Deploy1
$action=480
$continue=false

Match2
$request=^INVITE
To:([0-9]+)@

Deploy2
$session=com.sample.radius.proxy.RadiusAcct
$continue=true

Match3
$request=^INVITE
From=sip:180014@

Deploy3
$rtp=off
$nat=off
$continue=true

Match4
$request=^INVITE
To=sip:(5119)(94[012]|98[13]|982[2-9]|800[012]|81[0-5])(.+)@

Deply4
To=sip:000%1%2%3@10.10.0.203
&net.sip.timeout.inviting=30000

No work. the dialing number keep on pass to BSS to radiuscat. Other thinks is the call to *12345 doesn't register in CDR Call log.
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

please try to disable all other dial plans except the followings:
click [apply rules] button after changing

dial plan 1: priority 1

Match1
$request=^INVITE
To=sip:([\*\#].+)@

Deploy1
$action=480

check if the dialplan works when dialing number is like *12345,
if it works, then add the following dial plan

Dial Plan 2: priority 2

$request=^INVITE
To = sip:([0-9]+)@

Deploy2
$session=com.sample.radius.proxy.RadiusAcct
$continue=true
Post Reply