Hi all
                Though dial-peer 100 seems a little strange, but actually it is 
fine, let me explain the call leg match chain for you.

                1. dial-peer 4000                 Inbound call leg match
                                                                When a voip 
incoming call is reached at this router, because incoming called-number has the 
highest priority, this command is matched.

                2. dial-peer 100                   outbound call leg match
                                                                Because for 
outbound call leg match, only destination-pattern is used to select a call leg, 
at this step service aa command is not effective.

                3. dial-peer 100                   inbound call leg match
                                                                Again, the call 
reached at the router again, because step 2's session target is a loopback 
address. Also, at this step, the service aa command is effective.

                Could anyone help to confirm my explanation by issue show call 
active voice brief?  Thanks.



<CME router config>
!
dial-peer voice 100 pots
 description Inbound PSTN to AA-Pilot
 service aa
 incoming called-number 85311124000
 port 0/3/0:15
!
dial-peer voice 4000 voip
 description Inbound VoIP from GK
 translation-profile incoming aa_pilot         <translates incoming called 
number "4000" to the full e164 aa-pilot number>
 voice-class codec 1
 session protocol sipv2
 incoming called-number .
 dtmf-relay rtp-nte digit-drop h245-alphanumeric  no vad !
dial-peer voice 100 voip
 description VoIP Dialpeer to AA-Pilot
 service aa
 destination-pattern 85311124000
 session target ipv4:142.11.66.254           <loopback interface on CME router>
 incoming called-number 85311124000
 dtmf-relay h245-alphanumeric
 codec g711ulaw
 no vad
!

Reply via email to