'lo
I have a set of dial-peers:
as-voip#sh dial-peer voice summary
dial-peer hunt 0
AD PRE PASS
TAG TYPE MIN OPER PREFIX DEST-PATTERN FER THRU SESS-TARGET PORT
10000 pots up up 0048T 0 0:D
10100 pots up up 00 00T 0 1:D
1000 voip up up [1-9]T 0 syst ras
2000 voip up up 0[1-9]T 0 syst ras
When the call is made from IP to the AS, with the following attributes:
Called number: 0048111111111
Calling number: 222222222
i get something like this:
as-voip#deb dialpeer
as-voip 251856: 3w1d: Inside dpMatchCore:
as-voip 251857: 3w1d: destination pattn: 0048111111111 expanded string: 0048111111111
as-voip 251858: 3w1d: Inside dpMatchCore:
as-voip 251859: 3w1d: destination pattn: 222222222 expanded string: 222222222
as-voip 251860: 3w1d: Inside dpMatchCore:
as-voip 251861: 3w1d: destination pattn: 222222222 expanded string: 222222222
as-voip 251862: 3w1d: MatchNextPeer: Peer 1000 matched
Why is it matching on calling number rather, then the called number?
--
k.
I have a set of dial-peers:
as-voip#sh dial-peer voice summary
dial-peer hunt 0
AD PRE PASS
TAG TYPE MIN OPER PREFIX DEST-PATTERN FER THRU SESS-TARGET PORT
10000 pots up up 0048T 0 0:D
10100 pots up up 00 00T 0 1:D
1000 voip up up [1-9]T 0 syst ras
2000 voip up up 0[1-9]T 0 syst ras
When the call is made from IP to the AS, with the following attributes:
Called number: 0048111111111
Calling number: 222222222
i get something like this:
as-voip#deb dialpeer
as-voip 251856: 3w1d: Inside dpMatchCore:
as-voip 251857: 3w1d: destination pattn: 0048111111111 expanded string: 0048111111111
as-voip 251858: 3w1d: Inside dpMatchCore:
as-voip 251859: 3w1d: destination pattn: 222222222 expanded string: 222222222
as-voip 251860: 3w1d: Inside dpMatchCore:
as-voip 251861: 3w1d: destination pattn: 222222222 expanded string: 222222222
as-voip 251862: 3w1d: MatchNextPeer: Peer 1000 matched
Why is it matching on calling number rather, then the called number?
--
k.