I've been playing with globalisation of the numbers and I amended the standard PSTN/WAN Config of IPExpert/Proctol labs translation rules/profiles so I could do some work on both CUCM and CME.
I have guessed what emergency services presents along with subscriber in US. Voice trans-rule 4 was me starting to glue in/outbound calls from say BR2 into HQ. Mick ------ snippet ------------------------- voice translation-rule 1 rule 1 /^6745738932$/ /916745738932/ type any international rule 2 /^916745738932$/ /916745738932/ type any international rule 3 /^3214\(....\)$/ /343214\1/ type any international rule 4 /^1212394\(....\)$/ /394\1/ type any subscriber rule 5 /^212394\(....\)$/ /394\1/ type any subscriber rule 6 /^1617863\(....\)$/ /617863\1/ type any national rule 7 /^617863\(....\)$/ /617863\1/ type any national rule 9 /^911$/ /911/ type any subscriber voice translation-rule 2 rule 1 /^6745738932$/ /916745738932/ type any international rule 2 /^916745738932$/ /916745738932/ type any international rule 3 /^3214\(....\)$/ /343214\1/ type any international rule 4 /^1212394\(....\)$/ /212394\1/ type any national rule 5 /^212394\(....\)$/ /212394\1/ type any national rule 6 /^1617863\(....\)$/ /1617863\1/ type any national rule 7 /^617863\(....\)$/ /1617863\1/ type any national rule 9 /^911$/ /911/ type any subscriber voice translation-rule 3 rule 1 /^6745738932$/ /916745738932/ type any international rule 2 /^916745738932$/ /916745738932/ type any international rule 3 /^3214\(....\)$/ /3214\1/ type any national rule 4 /^1212394\(....\)$/ /1212394\1/ type any international rule 5 /^212394\(....\)$/ /1212394\1/ type any international rule 6 /^1617863\(....\)$/ /1617863\1/ type any international rule 7 /^617863\(....\)$/ /1617863\1/ type any international rule 8 /^863\(....\)$/ /1617863\1/ type subscriber international rule 9 /^394\(....\)$/ /1212394\1/ type subscriber international rule 15 /^999$/ /999/ type any subscriber voice translation-rule 4 rule 1 /^3945...$/ /\0/ type subscriber subscriber rule 2 /^12123945...$/ /\0/ type national national rule 3 /^12123945...$/ /\0/ type international international rule 4 /^.*$/ /12123945000/ type any national voice translation-rule 34 rule 1 /^011/ /1234/ rule 2 /^911$/ /1234/ rule 3 /^1617/ /1234/ rule 4 /^1212/ /1234/ rule 5 /^212/ /1234/ rule 6 /^394/ /1234/ rule 7 /^617/ /1234/ rule 8 /^863/ /1234/ voice translation-rule 212 rule 1 /^1212/ /1234/ rule 2 /^1/ /\0/ rule 3 /^394/ /\0/ rule 4 /^011/ /\0/ rule 5 /^212/ /\0/ rule 6 /^911$/ /\0/ rule 9 /./ /1234/ voice translation-rule 617 rule 1 /^1617/ /1234/ rule 2 /^1/ /\0/ rule 3 /^863/ /\0/ rule 4 /^011/ /\0/ rule 5 /^617/ /\0/ rule 6 /^911$/ /\0/ rule 9 /./ /1234/ voice translation-profile block-call-into-BR1 translate called 617 voice translation-profile block-call-into-BR2 translate called 34 voice translation-profile block-call-into-HQ translate calling 4 translate called 212 voice translation-profile globalise-BR1 translate calling 2 voice translation-profile globalise-BR2 translate calling 3 voice translation-profile globalise-HQ translate calling 1 voice-port 0/0/0:23 translation-profile incoming block-call-into-HQ translation-profile outgoing globalise-HQ description ** PRI VOICE TRUNK TO HQ-RTR ** voice-port 0/2/0:15 translation-profile incoming block-call-into-BR2 translation-profile outgoing globalise-BR2 description ** PRI VOICE TRUNK TO BR2-RTR ** voice-port 0/0/1:23 translation-profile incoming block-call-into-BR1 translation-profile outgoing globalise-BR1 description ** PRI VOICE TRUNK TO BR1-RTR ** Best regards Mick E: [email protected] T: +44(0)1626 323592 M: +44(0)77255 18156 F: +44(0)1626 323591 > From: Aamir Panjwani <[email protected]> > Date: Fri, 21 Aug 2009 07:52:25 +1000 > To: Jonathan Charles <[email protected]>, <[email protected]> > Subject: Re: [OSL | CCIE_Voice] international escape character and h.323 > > It appears that your are calling from HQ to PSTN right? Have you tried running > debug isdn q931 on the PSTN router to see if it is actually receiving + sign. > You may need to tweak some config on PSTN router to be able to display +sign > > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Jonathan Charles > Sent: Friday, 21 August 2009 6:40 AM > To: [email protected] > Subject: Re: [OSL | CCIE_Voice] international escape character and h.323 > > Or, it is not supported... > > http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/admin/7_0_1/ccmfeat/fscallp > n.pdf > > great. > > > J > > > On Thu, Aug 20, 2009 at 3:37 PM, Jonathan Charles<[email protected]> wrote: >> Also, there are H.323 translations on the gateway: >> >> >> ! >> voice translation-rule 1 >> rule 1 /3313214\(3...\)$/ /\1/ >> ! >> voice translation-rule 2 >> rule 1 /^\(3...\)$/ /+3313214\1/ >> ! >> ! >> voice translation-profile ANI >> translate calling 2 >> ! >> voice translation-profile DNIS >> translate called 1 >> ! >> voice-port 0/0/0:15 >> translation-profile incoming DNIS >> translation-profile outgoing ANI >> ! >> >> BR2#test voice translation-rule 2 3002 >> Matched with rule 1 >> Original number: 3002 Translated number: +33132143002 >> Original number type: none Translated number type: none >> Original number plan: none Translated number plan: none >> >> BR2# >> >> But when I call out: >> >> Aug 20 20:35:59.261: ISDN Se0/0/0:15 Q931: Applying typeplan for >> sw-type 0x12 is 0x0 0x0, Calling num 33132143002 >> Aug 20 20:35:59.261: ISDN Se0/0/0:15 Q931: Sending SETUP callref = >> 0x0083 callID = 0x8004 switch = primary-net5 interface = User >> Aug 20 20:35:59.261: ISDN Se0/0/0:15 Q931: TX -> SETUP pd = 8 callref = >> 0x0083 >> Bearer Capability i = 0x8090A3 >> Standard = CCITT >> Transfer Capability = Speech >> Transfer Mode = Circuit >> Transfer Rate = 64 kbit/s >> Channel ID i = 0xA98386 >> Exclusive, Channel 6 >> Calling Party Number i = 0x0081, '33132143002' >> Plan:Unknown, Type:Unknown >> Called Party Number i = 0x80, '999' >> Plan:Unknown, Type:Unknown >> BR2# >> Aug 20 20:35:59.293: ISDN Se0/0/0:15 Q931: RX <- CALL_PROC pd = 8 >> callref = 0x8083 >> Channel ID i = 0xA98386 >> Exclusive, Channel 6 >> Aug 20 20:35:59.305: ISDN Se0/0/0:15 Q931: RX <- ALERTING pd = 8 >> callref = 0x8083 >> Progress Ind i = 0x8188 - In-band info or appropriate now available >> BR2# >> Aug 20 20:36:02.897: ISDN Se0/0/0:15 Q931: TX -> DISCONNECT pd = 8 >> callref = 0x0083 >> Cause i = 0x8090 - Normal call clearing >> Aug 20 20:36:02.905: ISDN Se0/0/0:15 Q931: RX <- RELEASE pd = 8 >> callref = 0x8083 >> Aug 20 20:36:02.909: ISDN Se0/0/0:15 Q931: TX -> RELEASE_COMP pd = 8 >> callref = 0x0083 >> >> No plus sign... >> >> >> Why? >> >> On Thu, Aug 20, 2009 at 3:32 PM, Jonathan Charles<[email protected]> wrote: >>> OK, so I configured the + to be sent... and I see it on an H.323 gateway: >>> >>> >>> BR2# >>> BR2# >>> Aug 20 20:22:43.375: ISDN Se0/0/0:15 Q931: RX <- SETUP pd = 8 callref = >>> 0x009D >>> Bearer Capability i = 0x8090A3 >>> Standard = CCITT >>> Transfer Capability = Speech >>> Transfer Mode = Circuit >>> Transfer Rate = 64 kbit/s >>> Channel ID i = 0xA98381 >>> Exclusive, Channel 1 >>> Display i = 'HQ Ph1' >>> Calling Party Number i = 0x0081, '+12123945001' >>> Plan:Unknown, Type:Unknown >>> Called Party Number i = 0x91, '33132143002' >>> Plan:ISDN, Type:International >>> Aug 20 20:22:43.375: ISDN Se0/0/0:15 Q931: Received SETUP callref = >>> 0x809D callID = 0x000D switch = primary-net5 interface = User >>> BR2# >>> Aug 20 20:22:43.387: ISDN Se0/0/0:15 Q931: TX -> CALL_PROC pd = 8 >>> callref = 0x809D >>> Channel ID i = 0xA98381 >>> Exclusive, Channel 1 >>> Aug 20 20:22:43.507: ISDN Se0/0/0:15 Q931: TX -> ALERTING pd = 8 >>> callref = 0x809D >>> BR2# >>> Aug 20 20:22:48.003: ISDN Se0/0/0:15 Q931: RX <- DISCONNECT pd = 8 >>> callref = 0x009D >>> Cause i = 0x8290 - Normal call clearing >>> Aug 20 20:22:48.007: ISDN Se0/0/0:15 Q931: TX -> RELEASE pd = 8 >>> callref = 0x809D >>> Aug 20 20:22:48.015: ISDN Se0/0/0:15 Q931: RX <- RELEASE_COMP pd = 8 >>> callref = 0x009D >>> BR2# >>> BR2# >>> >>> But it is not showing up on the phone.... >>> >>> The Device Pool for that site has the + for International calls, but >>> they aren't showing up.... any ideas? >>> >>> >>> >>> Jonathan >>> >> > _______________________________________________ > For more information regarding industry leading CCIE Lab training, please > visit www.ipexpert.com > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > _______________________________________________ > For more information regarding industry leading CCIE Lab training, please > visit www.ipexpert.com _______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com
