Matching Inbound Dial Peers

From: William Chen (kwchen@netvigator.com)
Date: Fri Dec 12 2003 - 22:41:31 GMT-3


Dear Group,

   Just want to get more information about the matching of the inbound dial
peer:

    First of all, if you configure a VOIP call between R1 and R2:

    R1:
    dial-peer voice 1111 pots
     destination-pattern 7031111
     port 1/0/0
    dial-peer voice 2222 voip
     destination-pattern 7032222
     session target ipv4:192.168.1.2

    R2:
    dial-peer voice 2222 pots
     destination-pattern 7032222
     port 1/0/0
    dial-peer voice 1111 voip
     destination-pattern 7031111
     session target ipv4:192.168.1.1

     Then you try to make a call simulation by using the "csim start
7032222" from R1. The call will be successful but R2 do not pick the
dial-peer 1111 as the inbound dial peer. So even the two VOIP peer have
different CODEC setting, the call will be successful. (I test it in a lot of
lab scenario, and I come to this conclusion, please correct me if I am
wrong)

    According to DocCD, it states that the matching of inbound dial-peer is
done by comparing with the calling or called number. Since I don't think
"csim start" command will carry the calling number, you can only match the
inbound dial-peer by using the called number. The command allow you to doing
this is "incoming called-number", Therefore, I put this command in both VOIP
dial-peer:

    R1:
    dial-peer voice 1111 pots
     destination-pattern 7031111
     port 1/0/0
    dial-peer voice 2222 voip
     incoming called-number 7031111
     destination-pattern 7032222
     session target ipv4:192.168.1.2

    R2:
    dial-peer voice 2222 pots
     destination-pattern 7032222
     port 1/0/0
    dial-peer voice 1111 voip
     incoming called-number 7032222
     destination-pattern 7031111
     session target ipv4:192.168.1.1

    Now, the two VOIP dial-peers are related, and you should put same CODEC
to them as well as compatible QoS setting; otherwise the call won't works.
(Again, I test it in lots of lab scenarios, especially, the lab require QOS
and CODEC settings).

    So, in real exam, should I put the "incoming called-number" in the VOIP
dial-peer?

Best Regards,
William Chen



This archive was generated by hypermail 2.1.4 : Sat Jan 03 2004 - 08:25:40 GMT-3