Author |
Message |
ka2qhg Brekeke Addict
Joined: 21 Nov 2006 Posts: 34
|
Posted: Fri Mar 07, 2008 12:07 pm Post subject: Routing Calls ByDigit Counting |
|
|
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 |
|
hope Brekeke Master Guru
Joined: 15 Jan 2008 Posts: 862
|
Posted: Mon Mar 10, 2008 12:55 pm Post subject: |
|
|
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 |
|
ka2qhg Brekeke Addict
Joined: 21 Nov 2006 Posts: 34
|
Posted: Tue Mar 11, 2008 1:18 am Post subject: Routing call by digits |
|
|
Thanks the dial plan works fine. _________________ Larry |
|
Back to top |
|
|