cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1973
Views
0
Helpful
2
Replies

Changing call type from Unknown to International

fitzgerald.d
Level 1
Level 1

I have inherited a CME system that I'm not very familiar with and looking for some help. I have been asked to make international calling work on this phone system as apparently it never has before. After setting up an apprpriate dial-peer and consulting with the TELCO I've run into one last problem preventing this from working.

This is my dial peer:

dial-peer voice 40 pots

description *** Outbound International Dial Peer ***

destination-pattern 9011T

port 0/0/0:23

prefix 011

Currently if I send all the digits for an international call, (ie. 01139XXXXXXXXXX) the call is tagged as an "International" call as per the Q931 debug below:

Channel ID i = 0xA9838A

                Exclusive, Channel 10

        Called Party Number i = 0x91, '01139XXXXXXXXXX'

                Plan:ISDN, Type:International

Dec  1 14:10:52.237 MDT: ISDN Se0/0/0:23 Q931: RX <- CALL_PROC pd = 8  callref = 0x825F

If i strip the "011" from the call and only send eveything after that, the call is tagged as "Unknown" as per the debug below:

Channel ID i = 0xA9838A

                Exclusive, Channel 10

        Called Party Number i = 0x80, '39XXXXXXXXXX'

                Plan:Unknown, Type:Unknown

Dec  1 14:07:35.987 MDT: ISDN Se0/0/0:23 Q931: RX <- CALL_PROC pd = 8  callref = 0x825D

The TELCO has informed me that for this to work I must send the prefix 011 and have the call marked as "Unknown", OR send it without the 011 prefix and have it marked as "International". I've tried quite a lot of different things and just can't seem to get this to work.

Any advice would be appreciated. Thank you

2 Replies 2

ADAM CRISP
Level 4
Level 4

Hi Duncan.

You can set the ISDN plan type using number translation rules,

example:

voice translation-rule 1001

rule 1 /^9011\(.+\)/ /\1/ type any international plan any isdn

!

voice translation-profile out_isdn_international

translate called 1001

!

TDM_Gateway#test voice translation-rule 1001 9011123456789

Matched with rule 1

Original number: 9011123456789   Translated number: 123456789

Original number type: none      Translated number type: international

Original number plan: none      Translated number plan: isdn

TDM_Gateway#

So you would then have:

dial-peer voice 40 pots

description *** Outbound International Dial Peer ***

translation-profile outgoing out_isdn_international

destination-pattern 9011T

port 0/0/0:23

prefix 011 ! this is probably wrong unless you're going from pots to pots, if going from voip to pots - get rid

! i.e.

no prefix 011

Adam

Hi Adam,

Thank you for the advice.

I've made the configuration changes as per your post, my dial-peer is now:

dial-peer voice 40 pots

description *** Outbound International Dial Peer ***

translation-profile outgoing out_isdn_international

destination-pattern 9011T

port 0/0/0:23

!

And the test was successful:

RTR01#test voice translation-rule 1001 901139347345XXXX

Matched with rule 1

Original number: 901139347345XXXX       Translated number: 39347345XXXX

Original number type: none      Translated number type: international

Original number plan: none      Translated number plan: isdn

However when I ran a csim the call still failed, and the debug shows the call still marked as unknown:

Channel ID i = 0xA9838A

                Exclusive, Channel 10

        Called Party Number i = 0x80, '39347345XXXX'

                Plan:Unknown, Type:Unknown

Dec  1 15:16:01.284 MDT: ISDN Se0/0/0:23 Q931: RX <- CALL_PROC pd = 8  callref = 0x8265

        Channel ID i = 0xA9838A

                Exclusive, Channel 10

Dec  1 15:16:01.284 MDT: ISDN Se0/0/0:23 Q931: RX <- PROGRESS pd = 8  callref = 0x8265

        Cause i = 0xC284 - Vacant code or prefix digit not dialed

        Progress Ind i = 0x8288 - In-band info or appropriate now available

Dec  1 15:16:21.289 MDT: ISDN Se0/0/0:23 Q931: TX -> DISCONNECT pd = 8  callref = 0x0265

Did I miss something? Is there a level of debug I can run to see if the rule is being applied properly.

Thank you