Configuring multiple MSN Numbers on BRI Interface

Answered Question
Apr 24th, 2008
User Badges:

Hi everyone,


I've got an ISDN line with around 8 MSN numbers connecting to my BRI 0/0/0 interface.


I'm trying to configure the interface to answer only specific MSN numbers, but can only find the option to answer up to 2 numbers using isdn answer1 <number1> & isdn answer2 (number2).


Any idea how this can be done?


Any help is much appreciated.


Regards,

Correct Answer by paolo bevilacqua about 9 years 3 days ago

voice translation-rule 10

rule 1 reject /5551234/


voice translation-profile fxo-in

translate called 10


voice-port x/y

translation-profile incoming fxo-in




  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 3 (5 ratings)
Loading.
paolo bevilacqua Thu, 04/24/2008 - 02:11
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

You can use a voice translation-profile with rule to reject calls to the number you do not want to answer, under the voice-port or incoming DP.


hope this helps, please rate post if it does!

cpartsenidis Thu, 04/24/2008 - 02:41
User Badges:

bevilacqua,


Thanks for your reply.


Can you please offer an example config that I can use to try it out ?


Thank you.

Correct Answer
paolo bevilacqua Thu, 04/24/2008 - 02:55
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

voice translation-rule 10

rule 1 reject /5551234/


voice translation-profile fxo-in

translate called 10


voice-port x/y

translation-profile incoming fxo-in




cpartsenidis Wed, 05/07/2008 - 10:52
User Badges:

Paolo,


I've tried the suggested configuration but unfortunately the call still rings on the secretary's phone.


Here's what I've added:


!

!

voice translation-rule 2

rule 1 reject /23105551234/

!

!

voice translation-profile dropmsn

translate calling 2

translate called 2

!

!

voice-port 0/0/1

translation-profile incoming dropmsn

compand-type a-law

cptone GR

connection plar 49

bearer-cap Speech

!


I've also performed a test voice translation and it verifies that the call is blocked on rule 1.


Any ideas ?

paolo bevilacqua Wed, 05/07/2008 - 11:48
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

Do not use connection plar.

Instead, assign the number you want to answer as secodary for the ephone. And, check with "debug isdn q931" and "term mon" that the called number is exactly the same you want to reject.

cpartsenidis Wed, 05/07/2008 - 11:56
User Badges:

Paolo,


I'm left a bit puzzled by your last response.


ext.49 refers to a pilot hunt list:

!

ephone-hunt 1 sequential

pilot 49

list 30, 50

timeout 10, 10

description Huntgroup-Sec->Everyone

!


Can you please provide an example of your suggestion to help make it a bit clearer for me ?

paolo bevilacqua Wed, 05/07/2008 - 13:12
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

pilot 49 secondary 23105551234


or simply


pilot 23105551234


cpartsenidis Wed, 05/07/2008 - 13:21
User Badges:

Paolo,


I'm still having problems blocking the msn number I want. Here's the complete relevant configuration, perhaps you can point me as to where I've incorrectly configured the system:


!

voice translation-rule 2

rule 1 reject /23105551234/

!

!

voice translation-profile dropmsn

translate calling 2

translate called 2

!

!

voice-port 0/0/1

translation-profile incoming dropmsn

compand-type a-law

cptone GR

bearer-cap Speech

!

!

ephone-hunt 1 sequential

pilot 49 secondary 23105551234

list 30, 50

timeout 10, 10

description Huntgroup-Sec->Everyone

!


Do I also need a dial-peer for the above to work as I didn't use any previously due to the 'connection plar 49' command.


Many thanks,

paolo bevilacqua Wed, 05/07/2008 - 13:56
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

Well, the "reject" number and the pilot secondary should be different, it is so in your actual configuration ? Also you don't need "translate calling".

You also need a DP with "incoming called number ." and "direct-inward-dial".

cpartsenidis Wed, 05/07/2008 - 22:57
User Badges:

Paolo,


Thanks again for your input.


Can you verify the following configuration is correct as per instructions so I can give it a try? :


!

voice translation-rule 2

rule 1 reject /23105551234/

!

!

voice translation-profile dropmsn

translate called 2

!

!

voice-port 0/0/1

translation-profile incoming dropmsn

compand-type a-law

cptone GR

bearer-cap Speech

!

!

ephone-hunt 1 sequential

pilot 49 secondary 23105554321

list 30, 50

timeout 10, 10

description Huntgroup-Sec->Everyone

!

dial-peer voice 100 pots

destination-pattern 23105554321

incoming called number .

direct-inward-dial

port 0/0/1


Thank you.

paolo bevilacqua Thu, 05/08/2008 - 01:38
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

Seems fine ...

Note in reality cptone for BRi prots doesn't do anything, and beare-cap is often best left to default.

cpartsenidis Thu, 05/08/2008 - 05:53
User Badges:

Paolo,


Your suggested configuration worked fine ! Many thanks for your patience and effort!


What I'd like to try out now is apply the above scenario to a voice gateway which routes all incoming calls to a CUCM system.


Here's what I've tried, but it didn't work on the remote system:



voice translation-rule 2

rule 1 reject /210500500/

!

voice translation-profile dropmsn

translate called 2

!

voice-port 0/0/0

translation-profile incoming dropmsn

!

!

dial-peer voice 400 voip

destination-pattern 210...

voice-class codec 1

session target ipv4:10.0.0.1

!

I tried also applying the translation-profile to the dp 400, but it didn't work.


In my previous example, we placed the number we wanted to ring, as a secondary on the hunt group's pilot (ephone-hunt 1 sequential

pilot 49 secondary 23105554321).


In this particular case, all incoming calls are routed to the call manager system.


Any ideas or suggestions ?

paolo bevilacqua Thu, 05/08/2008 - 05:57
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

Just configure a proper destination-pattern for the numbers you want, under DP 400.

Thanks for the nice rating and good luck!

cpartsenidis Thu, 05/08/2008 - 06:33
User Badges:

Paolo,


Correct me if I am wrong, but I can only define one destination-pattern under each dial-peer, or use a pattern that matches all incoming numbers e.g destination-pattern 210....... (


In this new case, I've defined a generic pattern that catches all possible patterns I need (210500501, 210500502 e.t.c).


I don't understand what additions I must make to get the new scenario working;


An example based on the configuration below would be much appreciated:


voice translation-rule 2

rule 1 reject /210500500/

!

voice translation-profile dropmsn

translate called 2

!

voice-port 0/0/0

translation-profile incoming dropmsn

!

!

dial-peer voice 400 voip

destination-pattern 210......

voice-class codec 1

session target ipv4:10.0.0.1

!

paolo bevilacqua Thu, 05/08/2008 - 06:56
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

Seems fine, all numbers beginning with 210 and six more digits are sent to 10.0.0.1

cpartsenidis Thu, 05/08/2008 - 07:06
User Badges:

However, for some reason, 210500500 is not being rejected.


I also tried adding the translation-profile to the dial-peer you saw, but the system still answers 210500500!


Any further ideas ?

paolo bevilacqua Thu, 05/08/2008 - 08:50
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

Check ouput of "debug isdn q931" with "term mon". Worst case you can route the number to a fake IP and it won't answer.

Actions

This Discussion