Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

CME SIP trunk

Hello,

Our customer has 2821 with CME and SCCP IP Phones. For external calls they use SIP trunk.
There is a requirement of the SIP provider that the prefix 11111# should be prepended to all calls. I know how to do it. That
s not a problem. But I stuck with another one.

For example, we are placing a call to 92222222 – we translating this number to 11111#74952222222 as SIP provider required.

On the phone display we can see called number "92222222"
On the other side somebody answers the call.

In this moment called number changes from "92222222" to 11111#74952222222 if IOS version 12.4.25b and to 11111 if IOS version 12.4.24T2

But I want to keep the number "92222222".

How can I fix this.


!


voice translation-rule 1


  rule 1 /^8/ /11111#7/


  rule 2 /^9/ /11111#7495/


!


!


voice translation-profile 1


  translate calling 2


!


dial-peer voice 101 voip


  translation-profile outgoing 1


  destination-pattern 8..........


  session protocol sipv2


  session target ipv4:195.x.x.1


  dtmf-relay rtp-nte


  codec g711alaw


  no vad


!


dial-peer voice 102 voip


  translation-profile outgoing 1


  destination-pattern 9.......


  session protocol sipv2


  session target ipv4:195.x.x.1


  dtmf-relay rtp-nte


  codec g711alaw


  no vad


!


dial-peer voice 103 voip


  translation-profile outgoing 1


  destination-pattern 810T


  session protocol sipv2


  session target ipv4:195.x.x.1


  dtmf-relay rtp-nte


  codec g711alaw


  no vad


!


!


telephony-service


  max-ephones 96


  max-dn 288


  ip source-address 172.20.6.10 port 2000


 
auto assign 1 to 25


  system message Enigma


  sdspfarm units 5


  sdspfarm transcode sessions 10


  sdspfarm tag 1 mtp001cf6b3c550


  network-locale RU


  time-zone 32


  time-format 24


  date-format dd-mm-yy


  create cnf-files version-stamp 7960 Dec 07 2009 17:15:36


  dialplan-pattern 1 1... extension-length 4


  max-conferences 8 gain -6


  call-forward pattern .T


  moh flash:music-on-hold.au


  web admin system name cmeadmin secret 5 $1$N.78$cTZu7ryFw8Krahn1GoX.J/


  dn-webedit


  time-webedit


  transfer-system full-consult


 
transfer-pattern .T


!

Everyone's tags (4)
5 REPLIES
Hall of Fame Super Gold

Re: CME SIP trunk

I may be wrong, but I don't think it can be done.

CME is correctly presenting the number that you're connected to.

Ask ITSP to remove the prefix requirement.

Re: CME SIP trunk

Thanks for reply

As I said we have different behaviour

Called number changes from "92222222" to 11111#74952222222 if IOS version 12.4.25b and to 11111 if IOS version 12.4.24T2

Hall of Fame Super Gold

Re: CME SIP trunk

Likely IOS bug in 12.4T

Re: CME SIP trunk

my solution - use sip-profiles instead of translation-profiles

voice class sip-profiles 101
  request ANY sip-header SIP-Req-URI modify "(sip:)(8)(.*@)" "\111111%237\3"
!
dial-peer voice 101 voip
    destination-pattern 8..........
    voice-class sip profiles 101
    session protocol sipv2
    session target ipv4:195.x.x.1
    dtmf-relay rtp-nte
    codec g711alaw
    no vad
!

Re: CME SIP trunk

interesting one

1725
Views
4
Helpful
5
Replies