[cisco-voip] tech-prefix and CLID

Robert Hass robhass at gmail.com
Mon Dec 19 05:15:31 EST 2011


Hi
Is tech-prefix command changing something with CLID
(number-presentation) ? I have CUCM where PSTN access is provided by
SIP-Trunk. PSTN Provider gives us tech-prefix (code) which have to be
inserted before number: eg. 1234#4912345678 where
  1234# - is tech-prefix
  49 - is country code (49 = Germany)
  12345678 = called number

If we're using tech-prefix command on dial-peer to insert tech-prefix
then CLID is not working - calling to my mobile I see unknown-number.
If I inserting tech-prefix using translation-rule then CLID is working
good.

CLID working (calling number is displayed correct):

voice translation-rule 1
 rule 1 /^00/ /1234#/
 rule 2 /^0/ /1234#49/
!
!
voice translation-profile 1
 translate called 1
!
!
dial-peer voice 1001 voip
 translation-profile outgoing 1
 huntstop
 destination-pattern 0T
 session protocol sipv2
 session target ipv4:x.x.x.x:5060
 codec g711ulaw
 no vad

CLID not working (calling number == unknown number):

voice translation-rule 1
 rule 1 /^00/ //
 rule 2 /^0/ /49/
!
!
voice translation-profile 1
 translate called 1
!
!
dial-peer voice 1001 voip
 translation-profile outgoing 1
 huntstop
 destination-pattern 0T
 session protocol sipv2
 session target ipv4:x.x.x.x:5060
 tech-prefix 1234#
 codec g711ulaw
 no vad
!

Any idea ?

Thanks
Robert


More information about the cisco-voip mailing list