Cisco spa: Update template_data.json#216
Conversation
Remove "| <:1352>[2-9]xxxxxx" from default dial plan as this prefixes 1352 to all 7 digit numbers and strips the dialed area code from a 10 digit number then prefixes 1352 to the remaining 7 dialed digits before passing the number to the PBX or SIP provider.
|
This breaks 7 digit dialing. It does NOT strip a dialed area code from a 10 number. This dial plan has been in endpoint manager for five years now. |
|
And I've had to fix it every time I've used endpoint manager for the past five years. You should be using OUTBOUND dialing rules in your own PBX box to add an appropriate area code for a 7 digit number. It should not be part of the phone dial plan template. This was tested across multiple FreePBX boxes. Removing this part of the dial plan from the template and adding the appropriate outbound rules to the PBX ensures the PHONE does not dial "1352" automatically while ignoring the user-dialed area code. It also ensures the PHONE will not add "1352" automatically to a user-dialed 7 digit number. |
|
I agree "OUTBOUND dialing rules" is the appropriate place to add an appropriate area code for a 7 digit number. However, your version of the dialplan NEVER passes a 7 digit number. Nowhere, does it accept 7 digits. Detailed Explanation of Cisco SPA Dialplans
The above is an accurate statement.
The above is an INCORRECT statement. The dial plan does not strip ANY digits at any time. Values to be stripped must be placed BEFORE the ":". SOME EXAMPLES: An example of "replacing" any area code would be as follows: |
|
@sonic331va my Pull Request #223 addresses both of our concerns. Thank you so much for pointing this out. This update was only 5 years overdue. Open Source Development Rocks!!! PS: This dial plan changes were tested on a spa525G with Firmware Ver.: 7.6.2 and Hardware Ver.: 2.1.1 prior to posting. |
Remove "| <:1352>[2-9]xxxxxx" from default dial plan as this prefixes 1352 to all 7 digit numbers and strips the dialed area code from a 10 digit number then prefixes 1352 to the remaining 7 dialed digits before passing the number to the PBX or SIP provider.