Routing Calls ByDigit Counting

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
ka2qhg
Posts: 34
Joined: Tue Nov 21, 2006 10:33 am

Routing Calls ByDigit Counting

Post by ka2qhg »

1. Brekeke Product Name and version:SIP Server version 2.0

2. Java version:JDK 1.4

3. OS type and the version:Windows XP with sp2

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

6. Your problem:Is it possible to route a call to a spa3102 pstn based on the number of digits you dial? For example instead of having to dial 9 + the 7 digit phone number, I would like to be able to dial a 7 digit numer and be conected to my pstn. If I dial 4 digits it would go thru as a extension to extension.

Thanks for your help.
Larry
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

make a dial plan to filter the calls to pstn

Matching Patterns
---------------------------------
$request=^INVITE
$geturi(To)=sip:(.......)@.+

Deploy Patterns
----------------------------------
To=sip:%1@spa3102IP


Hope it works
ka2qhg
Posts: 34
Joined: Tue Nov 21, 2006 10:33 am

Routing call by digits

Post by ka2qhg »

Thanks the dial plan works fine.
Larry
Post Reply