[cisco-voip] Strange AS5350 behaviour on dial-peers.

Jakub Klausa jacke at bofh.pl
Sun Mar 14 13:53:07 EST 2004


'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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 290 bytes
Desc: not available
Url : https://puck.nether.net/pipermail/cisco-voip/attachments/20040314/36523a84/attachment.bin


More information about the cisco-voip mailing list