History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XCF-377
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Damian Krzeminski
Votes: 0
Watchers: 0
Available Workflow Actions

Resolve
Request Information
Operations

If you were logged in you would be able to see more operations.
sipXconfig

suffix matchig in custom dial rules UI

Created: 2005-05-12 14:54   Updated: 2007-03-19 00:07
Component/s: dial plan
Affects Version/s: 2.9 (main), 2.8
Fix Version/s: None

Original Estimate: 2 days Remaining Estimate: 2 days Time Spent: Unknown
Issue Links:
Related
This issue related to:
XCF-371 Dial rule user entry is too restrictive Major Closed
 


 Description  « Hide
sipXconfig currently supports matching and transforming patterns that consist of fixed prefix followed by fixed or variable number
in some rare cases one may want to define the following transformation 333xxxx44 -> 333${vdigits} - currently it is possible to do that by manually modifying mapping/fallback rules only

 All   Comments   Work Log   Change History      Sort Order:
Lih-Shyng Tzeng - 2006-06-29 15:55
Added this to 3.6 list.

Martin Steinmann - 2006-07-01 18:40
Another VoIP switch uses the following dial plan fields:

Prefix (stripped)
Head
Tail
Minimum Tail (number of digits)
Action
Add Prefix

Prefix - The characters in the Prefix+Head+Tail field are compared against the dialled number. The characters in the Prefix field (e.g. 0 for an outside line or * for some special service) must be an exact match to the beginning of the dialled number and are stripped off before an Action is taken.

Head - The Prefix+Head field must also be an exact match to the beginning of the dialled number.

Tail - The Tail field specifies the characters that are allowed in the remainder of the dialled number (after an exact match of Prefix+Head). Options are
    0-9,+-#*
    0-9
    A-Z, a-z
    A-Z, a-z, 0-9

Minimum Tail - If, after a match in the three previous fields, the length of the tail part is less than specified in this field, the dialled number is regarded as incomplete.

The dial plan then allows either to "Forward" or "Deny" calls that match the criteria.

I like the concept of a Prefix and Head where only the prefix is stripped. Also, it is possible to specify the matching characters. they do not allow suffic matching. This could work nicely for our custom dialing rule.