Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

AS5350 – dial-peers /destination-pattern

  • This topic has 2 replies, 1 voice, and was last updated 21 years ago by jacobson.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26022
    jacobson
    Guest

    hi,

    i want to filter easily incoming VoIP call by having different headers from each partner. that header must be removed and replaced by a choosen prefix.
    i want to create destination pattern with ‘wild-cards’

    example: (does not work !)
    !
    dial-peer voice 933 pots
    description Gateway France
    destination-pattern 9..33T
    prefix 0
    port 3/1:D
    !

    a call 91133xxxx or 91233xxx (both matching) should become 0xxxx (the 9..33 must be replaced by a 0)

    i need this for both ‘pots’ and ‘VoIP’.

    now i can do this by creating a 91133 and a 91233 dial-peer
    but i find it heavy.

    #26023
    akb
    Guest

    Try this…

    translation-rule 933
    Rule 0 ^91133 0
    Rule 1 ^91233 0
    !

    #26024
    jacobson
    Guest

    I do agree with you.
    (this is what i do presently)

    Now I have several partners coming in towards various destinations
    Now I can make a couple dial-peer / translation rule for all the 91×33, then for all the 92×33, …

    Each destination can have its own rules
    So, for the Netherlands, I will have to do the same
    91×31, 92×31, …

    that’s why I really would like to use wild cards.

    that would allow for easier administration / maintenance

    but it seems present implementation of IOS will strip only ‘hard’ correspondence 🙁

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Voice over IP’ is closed to new topics and replies.