Forums Read-only archive

Routing Calls ByDigit Counting

3 posts · Brekeke SIP Server Forum

ka2qhg Original post
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.
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
Thanks the dial plan works fine.