E1 line with Two hundred DID

Answered Question
Nov 19th, 2009
User Badges:

Hi  We are facing an issue to map DID numbers to Extensions, This is my current scenario   We have two sets of DID numbers   1-starts from 042900700 to 042900799   2-starts from 042900600 to 042900699 We are using the first set of DID numbers , our internal extensions starts from 700 to 799, if any one calls 042900700 it rings in extension number 700 apart from this any did numbers are called none of them are mapped to there extensions, any DID number from this pool we call it directly rings on the main reception. The default translation profile which created is as follows.




!
voice translation-rule 24
rule 1 /042900700/ /700/
!
voice translation-rule 26
rule 1 /2900777/ /777/
!
voice translation-rule 1111
rule 15 /.*/ /2900700/
!
voice translation-rule 1112
rule 1 /^9/ //
!
voice translation-rule 2222
rule 1 /^90000\(.*\)/ //
!
!
voice translation-profile CALLER_ID_TRANSLATION_PROFILE
translate calling 1111
!
voice translation-profile CallBlocking
translate called 2222
!
voice translation-profile Cris_Called_26
translate called 26
!
voice translation-profile OUTGOING_TRANSLATION_PROFILE
translate calling 1111
translate called 1112
!
voice translation-profile incoming-OP_Called_24
translate called 24
!

Correct Answer by David Trad about 7 years 7 months ago

Hi Suraj,


Hang in there buddy we will sort this out :)


This here tells me what i need to know:



Called Party Number i = 0xC1, '2900777'



So we know that the carrier presents your DID like that, so please try the following.



First try the DID method attached to a DN:



ephone-dn  1  octo-line
number 700 secondary 2900700 no-reg both
pickup-group 1
label John 700
description John Doe
name John Doe
call-forward busy 800
call-forward night-service 800
call-forward noan 800 timeout 25
hold-alert 30 originator
night-service bell



Note you can use the dual-line command you don't have to use the octo-line method, but to be able to change a DN's line configuration you must first remove the DN's and then re-instate it.


Lets see how the above works for you, but please remove any translation rules in place to avoid conflicts, you can always reinstate them if need be, but for the purpose of testing, it is best you remove them from the equation.


As a matter of interest can you please post your Dial-Peer config as well, i want to make sure you have them setup properly for DID as well.



Cheers,



David.


(PS) I would ask you to send me your config and i would sort it out for you, but doing it that way wont help you to learn and work through these problems, so this is a good exercise :)

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
David Trad Thu, 11/19/2009 - 16:19
User Badges:
  • Gold, 750 points or more
  • Cisco Designated VIP,

    2013 Small Business

HI suraj12345


Whilst using Translation Rules is a quick and easy way, i find that attaching the DID to the actual DN itself is much more reliable, you just run it as a secondary on the DN, if you do not configure the translation rules right you can pull your hair out for hours trying to work out what you have done wrong, i try to avoid stress where possible, my kids stress me out enough, dont need Cisco kit to do that as well :).


However:


voice translation-rule 26
rule 1 /2900777/ /777/

Shouldnt that rule look like this:?


voice translation-rule 26
rule 1 /042900777/ /777/

And this one?


voice translation-rule 1111
rule 15 /.*/ /2900700/


Look like this:?


voice translation-rule 1111
rule 15 /.*/ /042900700/


I could be wrong but again i believe it all depends on how the carrier is presenting the number to your system as well.


Again i would go with attaching the DID to the DN, more tedious then running a capture all translation rule, but at least you can be sure in your mind that it will work.



It would look something like this:


ephone-dn  1  octo-line
number 700 secondary 042900700 no-reg both
pickup-group 1
label John 700
description John Doe
name John Doe
call-forward busy 800
call-forward night-service 800
call-forward noan 800 timeout 25
hold-alert 30 originator
night-service bell


It might not loook the same as that but you'll get the drift of what i am trying to point out




Hope you find the solution to your problem.



Cheers,




David.

suraj12345 Fri, 11/20/2009 - 00:49
User Badges:

I have tried the same way

1 command i cannot execute is

Ephone-12 octo line



I am also posting the debug messages i got when debugged ISDQ931

I have called from 0507840168 to 04 2940750 but the call landed on 042900700


Nov 20 08:57:18.331: ISDN Se0/2/0:15 Q931: RX <- SETUP pd = 8  callref = 0x08E4

        Sending Complete
        Bearer Capability i = 0x8090A3
                Standard = CCITT
                Transfer Capability = Speech
                Transfer Mode = Circuit
                Transfer Rate = 64 kbit/s
        Channel ID i = 0xA18387
                Preferred, Channel 7
        Calling Party Number i = 0x2183, '0507840168'
                Plan:ISDN, Type:National
        Called Party Number i = 0xC1, '2900777'
                Plan:ISDN, Type:Subscriber(local)
Nov 20 08:57:18.347: ISDN Se0/2/0:15 Q931: TX -> CALL_PROC pd = 8  callref = 0x8
8E4
        Channel ID i = 0xA98387
                Exclusive, Channel 7
Nov 20 08:57:18.355: ISDN Se0/2/0:15 Q931: TX -> ALERTING pd = 8  callref = 0x88
E4
        Progress Ind i = 0x8188 - In-band info or appropriate now available
Nov 20 08:57:23.583: ISDN Se0/2/0:15 Q931: RX <- DISCONNECT pd = 8  callref = 0x
08E4
        Cause i = 0x8290 - Normal call clearing
Nov 20 08:57:23.587: ISDN Se0/2/0:15 Q931: TX -> RELEASE pd = 8  callref = 0x88E
4
Nov 20 08:57:23.747: ISDN Se0/2/0:15 Q931: RX <- RELEASE_COMP pd = 8  callref =
0x08E4


Please check this and revert

Correct Answer
David Trad Fri, 11/20/2009 - 06:39
User Badges:
  • Gold, 750 points or more
  • Cisco Designated VIP,

    2013 Small Business

Hi Suraj,


Hang in there buddy we will sort this out :)


This here tells me what i need to know:



Called Party Number i = 0xC1, '2900777'



So we know that the carrier presents your DID like that, so please try the following.



First try the DID method attached to a DN:



ephone-dn  1  octo-line
number 700 secondary 2900700 no-reg both
pickup-group 1
label John 700
description John Doe
name John Doe
call-forward busy 800
call-forward night-service 800
call-forward noan 800 timeout 25
hold-alert 30 originator
night-service bell



Note you can use the dual-line command you don't have to use the octo-line method, but to be able to change a DN's line configuration you must first remove the DN's and then re-instate it.


Lets see how the above works for you, but please remove any translation rules in place to avoid conflicts, you can always reinstate them if need be, but for the purpose of testing, it is best you remove them from the equation.


As a matter of interest can you please post your Dial-Peer config as well, i want to make sure you have them setup properly for DID as well.



Cheers,



David.


(PS) I would ask you to send me your config and i would sort it out for you, but doing it that way wont help you to learn and work through these problems, so this is a good exercise :)

suraj12345 Fri, 11/20/2009 - 07:00
User Badges:

Thanks David

Please see my current running config attached, i have cahnged the translation profiles couple of times  in order sort out the problem so i am attaching the latest one.

Attachment: 
suraj12345 Fri, 11/20/2009 - 07:15
User Badges:

Hi David

voice-port 0/2/0:15
connection plar 700


Is this is routing all the calls to main 700 extn ?

David Trad Fri, 11/20/2009 - 14:04
User Badges:
  • Gold, 750 points or more
  • Cisco Designated VIP,

    2013 Small Business

Hi Suraj,


OK lets work through this together.


This is what i can gather by reading your config:



1. You are wanting all incoming calls to go to the reception first, Receptions EXT # is 700, so you have plar'ed the E-1 to go to that DN


2. If you want to do the above you really should make the Reception DN an Octo-Line, especialy if you are going to push all calls from an E-1 to it, to do that you need to remove it and then re-instate it, as you simple cannot change a DN from Dual to Octo.


3. You have too many conflicting directives, whilst the UC scans through them all and chooses the best match, the introduction of all these directives also makes it somewhat hard for debugging, so please remove the following:


dial-peer voice 3020 pots
description incoming-OP
translation-profile incoming incoming-OP_Called_24
incoming called-number 042900700
direct-inward-dial
port 0/2/0:15
!
dial-peer voice 3022 pots
description Cris
translation-profile incoming Cris_Called_26
incoming called-number 2900777
direct-inward-dial
port 0/2/0:15


If i am not mistaken you really dont need these, they are redundant, there is no need for this if you are going to controll the call routing via Translation Rules or DID attachments to DN's, it would seem at this stage you put them in as part of a method to get the call directions working, but it could have introduced more problems for you, the reason is because you allready have this;


dial-peer voice 100 pots
description ** incoming dial peer **
incoming called-number .%
direct-inward-dial
port 0/2/0:15


This Dial-Peer looks after your incoming calls, it is a capture all in-bound calls and is standard when using CCA, as CCA either uses translation profiles or DN secondary's to controll call flows.


However in pointing out the above i would use that scenario when i wanted to direct faxes to an FXS port,but i must point out everyone has their own way of setting up a UC system.


4. You need to alter the DN's to which you have the DID attached too


ephone-dn  12  dual-line
number 777 secondary 2900777 no-reg both
pickup-group 1
label 777
description Chirstian Andersen
name Andersen Chirstian
call-forward busy 500
call-forward noan 500 timeout 10


Remvoe the 04 as the number being presented too you by the carrier is 29XXXXX, unless you are going to user translation rules and add the 04 to the begining of the number, is there are need for you to do that??




Did you use CCA to configure this system?? It is in quite a mess without sounding too rude, it looks like a CCA config but been heavily modiified i would love to try and help you clean it up so it is easier for you to work with, or is this just a trial box for you to work up on a lab? If it is a production system it would be great to get some structure too it, i hope i dont sound offensive in any way :)



Let us start with cleaning up the above, i will go over the config over the next few hours and re-structure it  for you and then post it back up, you can either upload it to your flash card and then copy it to start up, or you can just use it as a referrence point, it is up too you.




Cheers,



David.







suraj12345 Sat, 11/21/2009 - 07:44
User Badges:

David ,

Thanks for helping me .


This is what i did and the issue solved,


!
voice translation-rule 16
rule 1 /2900700/ /700/
!


ephone-dn  38  dual-line
number 700 secondary 2900700 no-reg primary
label 700
description Reception
name Reception
corlist incoming user-local
translation-profile incoming CallBlocking



dial-peer voice 3037 pots
description RC
translation-profile incoming RC_Called_16
incoming called-number 2900790
direct-inward-dial
port 0/2/0:15



First reset UC 500 to factory defaullts , then configured the system as per your comments ,  Now everything works as expected .Thank you .

David Trad Sat, 11/21/2009 - 13:03
User Badges:
  • Gold, 750 points or more
  • Cisco Designated VIP,

    2013 Small Business

HI Suraj,



Now everything works as expected .Thank you .



I happy for you :) i was only half way through your config so i am glad you worked it out yourself.




Cheers,



David.




Actions

This Discussion