Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Routing Calls ByDigit Counting
Author Message
ka2qhg
Brekeke Addict


Joined: 21 Nov 2006
Posts: 34

PostPosted: Fri Mar 07, 2008 12:07 pm    Post subject: Routing Calls ByDigit Counting Reply with quote

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/networkpatterns.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
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Mon Mar 10, 2008 12:55 pm    Post subject: Reply with quote

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
Back to top
View user's profile
ka2qhg
Brekeke Addict


Joined: 21 Nov 2006
Posts: 34

PostPosted: Tue Mar 11, 2008 1:18 am    Post subject: Routing call by digits Reply with quote

Thanks the dial plan works fine.
_________________
Larry
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1