did you do any debugs on either the dial peer selection or on the translation getting invoked?
<br />
<br />On Jan 6, 2010 3:43pm, Marty van de Veerdonk <marty@voiceidentity.nl> wrote:
<br />> unfortunately it isn't working yet...
<br />>
<br />> does anybody has suggestions?
<br />>
<br />>
<br />> ----- Oorspronkelijk bericht -----
<br />> Van: "Marty van de Veerdonk" marty@voiceidentity.nl>
<br />> Aan: "Mike Thompson" mthompson729@gmail.com>
<br />> Cc: "cisco-voip" cisco-voip@puck.nether.net>
<br />> Verzonden: Woensdag 6 januari 2010 10:43:39 GMT +01:00 Amsterdam / Berlijn / Bern / Rome / Stockholm / Wenen
<br />> Onderwerp: Re: [cisco-voip] CME translation rule for +31 behavior?
<br />>
<br />> Thanks,
<br />> I created rule 24 and attached it to dial-peer voice 11 voip.
<br />>
<br />>
<br />> !
<br />> voice translation-rule 11
<br />> rule 1 /.*/ /1000/
<br />> !
<br />> voice translation-rule 12
<br />> rule 1 /.*/ /1010/
<br />> !
<br />> voice translation-rule 21
<br />> rule 1 /^0/ //
<br />> !
<br />> voice translation-rule 22
<br />> rule 1 /.*/ /31252763010/
<br />> !
<br />> voice translation-rule 23
<br />> rule 1 /^0/ /252/
<br />> !
<br />> voice translation-rule 24
<br />> rule 1 /^\+31/ /0/
<br />> !
<br />> voice translation-rule 410
<br />> rule 1 /^0\(.*\)/ /\1/
<br />> rule 2 /^....$/ /31252763010/
<br />> !
<br />> !
<br />> voice translation-profile CUE_Voicemail
<br />> translate called 1
<br />> !
<br />> voice translation-profile SIP_CallForwarding
<br />> translate redirect-target 410
<br />> translate redirect-called 410
<br />> !
<br />> voice translation-profile SIP_Incoming1
<br />> translate called 11
<br />> !
<br />> voice translation-profile SIP_Incoming2
<br />> translate called 12
<br />> !
<br />> voice translation-profile SIP_Outgoing
<br />> translate calling 22
<br />> translate called 21
<br />> translate called 24
<br />> !
<br />> voice translation-profile SIP_Outgoing_Local
<br />> translate calling 22
<br />> translate called 23
<br />> !
<br />>
<br />> !
<br />> dial-peer voice 11 voip
<br />> description *** outgoing on winitu communications ***
<br />> translation-profile outgoing SIP_Outgoing
<br />> max-conn 5
<br />> destination-pattern 00T
<br />> voice-class codec 1
<br />> voice-class sip dtmf-relay force rtp-nte
<br />> session protocol sipv2
<br />> session target sip-server
<br />> dtmf-relay rtp-nte
<br />> no vad
<br />> !
<br />>
<br />>
<br />> ----- Oorspronkelijk bericht -----
<br />> Van: "Mike Thompson" mthompson729@gmail.com>
<br />> Aan: "Marty van de Veerdonk [Voice Identity]" marty@voiceidentity.nl>, "cisco-voip" cisco-voip@puck.nether.net>
<br />> Verzonden: Dinsdag 5 januari 2010 18:42:15 GMT +01:00 Amsterdam / Berlijn / Bern / Rome / Stockholm / Wenen
<br />> Onderwerp: RE: [cisco-voip] CME translation rule for +31 behavior?
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> Marty,
<br />>
<br />>
<br />>
<br />> Yes, the way to handle this is to create a translation
<br />>
<br />> akin to /^\+31/ /0/ and it should swap the prefix +31 and replace it with a 0.
<br />>
<br />> Syntax may be a little off…worked an overnight on a customer cut and I’m a
<br />>
<br />> shade on the sleepy side.
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> From:
<br />>
<br />> cisco-voip-bounces@puck.nether.net [mailto:cisco-voip-bounces@puck.nether.net] On
<br />>
<br />> Behalf Of Marty van de Veerdonk [Voice Identity]
<br />>
<br />>
<br />> Sent: Tuesday, January 05, 2010 10:01 AM
<br />>
<br />>
<br />> To: cisco-voip
<br />>
<br />>
<br />> Subject: [cisco-voip] CME translation rule for +31 behavior?
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> After an incoming call, the number of the user is shown in the
<br />>
<br />> display of the Cisco phone in a +31xxxxxxxxx format.
<br />>
<br />>
<br />> Therefor it's not possible to call the person back because CME doesn't
<br />>
<br />> understand this format (or aspects a 0 for an outside line).
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> Is it possible to fix this with a (outbound) translation rule?
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> reagrds, Marty
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> _______________________________________________
<br />>
<br />> cisco-voip mailing list
<br />>
<br />> cisco-voip@puck.nether.net
<br />>
<br />> https://puck.nether.net/mailman/listinfo/cisco-voip
<br />>
<br />>
<br />>
<br />>