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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Call Forwarding / Displayed Number on Forwarding target with H.323 Gateway

Hi Community,

 

i´m wondering if there is sort of a simple way to get this working properly.

Scenario:

Germany, variable dial plan, no fixed NANP, and we have ClipNoScreening ;)

We use 0 for getting PSTN-dialing.

We have internal DNs, for example a 6789, 4 Digits. We use external phone number mask on our lines, 123456XXX

Our main number is 0123/456-xxx

 

When i call outside everything is displayed fine on the called target, +49 123/456789.

When i forward a call on my cellphone, with CFA target of 00111/222333444 (my cellphone example), and an internal colleague from within our office, is calling my office phone, everything is ALSO displayed fine.

Now here comes the BUT:

When someone calls from PSTN on my office-phone, i get displayed on my cellphone the +49 (0) 0xxxxxxxx, which means the caller number PLUS the added 0 from the gateway. Which is completely consequent and correct, since we add them on the gateway, when a call comes in, to be able to just answer directly on the office phone.

 

The rule on the H323 gateway:

voice translation-profile OUTGOING-VOIP
 translate calling 1
 translate called 2

voice translation-rule 1
 rule 1 /^\(.*\)/ /0\1/ type subscriber unknown plan any unknown
 rule 2 /^\(.*\)/ /00\1/ type national unknown plan any unknown
 rule 3 /^\(.*\)/ /000\1/ type international unknown plan any unknown
!
voice translation-rule 2
 rule 6 /4560$/ /6600/
 rule 9 /^456\(...\)$/ /6\1/

voice translation-profile OUTGOING-POTS
 translate calling 3
 translate called 4

voice translation-rule 3
 rule 1 /^00049/ /0/ type unknown national
 rule 2 /^0/ // type unknown subscriber
 rule 3 /^00/ /0/ type unknown national
 rule 4 /^000/ /00/ type unknown international
!
voice translation-rule 4
 rule 2 /^00049\(.*$\)/ /\1/ type unknown national
 rule 3 /^000\(.*$\)/ /\1/ type unknown international
 rule 4 /^00\(.*$\)/ /\1/ type unknown national
 rule 5 /^0\(.*$\)/ /\1/ type unknown subscriber

 

dial-peer voice 10456 voip
 translation-profile outgoing OUTGOING-VOIP
 destination-pattern 456.T
 progress_ind setup enable 3
 modem passthrough nse codec g711ulaw
 session target ipv4:<IP-OF-CUCM>
 incoming called-number .
 voice-class codec 1
 voice-class h323 1
 dtmf-relay h245-alphanumeric
 fax-relay ecm disable
 fax rate disable
 fax protocol pass-through g711ulaw
 no vad
 no supplementary-service h225-notify cid-update

dial-peer voice 345000 pots
 tone ringback alert-no-PI
 translation-profile outgoing OUTGOING-POTS
 destination-pattern 0.T
 progress_ind alert enable 8
 progress_ind progress enable 8
 progress_ind connect enable 8
 port 0/0/0:15
 forward-digits all

 

In case of forwarding the external call to an external device, like for example a cellphone, this is crap.

Its obvious regarding the debugs all is working as designed ;), because my phone just forwards the full calling number including the added 0, since i put in to forward the originating calling DN.

 

My question now:

Can i simply correct this behavior somehow, also for international calls which would the 00 get added by the gateway?

 

Many thanks in advance for some input,

Andreas

78
Views
0
Helpful
0
Replies