Re: [OSL | CCIE_Voice] Custom Tones

2013-02-18 Thread William Bell
Jason,

I played with this some today and I think a lightbulb went off for me. The 
assumed scenario for cBarge + custom-cptone is:

1. PhoneC calls shared line on PhoneA/PhoneB   (Phones A and B are registered 
to CME)
2. Phone A answers on shared line
3. Phone B seizes line (remote in use) and selects the cBarge softkey
4. At this point the custom-cptone for JOIN should be played out
5. Phone B disconnects from call
6. Our assumption is that the custom-cptone for LEAVE should be played out

I have always had the same experience you noted. Which is:

Step 4 works fine, no problem.

Step 6 never works. IOW, I never hear a leave tone.

I tested different configs for custom-cptone, even though doing so didn't make 
much sense. The behavior is the same. You do want to make sure that the 
frequency is different. The cadence can be the same as far as I can tell, but 
it can be diff too. Not really all that relevant to the question.

I then tested MML using the same cptone setup and I do get JOIN and LEAVE 
tones. A clue that the voice-class assignment to the dspfarm is healthy.

I then tested ad-hoc conference from one of the phones. Only test 3 party 
conference. I hear a JOIN tone when the 3rd party is added. I DO NOT hear a 
LEAVE tone when that third party disconnects. At this point it dawns on me what 
is going on. For giggles, I did another set of tests.

I tested ad-hoc with 4 parties. I also tested a barge-in and then an ad-hoc add 
for a fourth party. If any single party (save the initiator) leaves that ad-hoc 
conference, a tone is played out to remaining parties (which is now 3). If one 
of the remaining three parties leaves (except for the conference initiator) 
then there is NO tone played out to the remaining two parties.

Based on observed behavior, I am thinking that things are behaving as designed. 
The custom-cptones are associated with the dspfarm profile. When you transition 
from a 2-party call to a 3+ party call, you are involving the dspfarm and 
getting the tones. When you drop to a 2-party call, you are dropping the need 
for a dspfarm and the call becomes point-to-point. So, if the dspfarm was 
attempting to playout tones, it is no longer involved in the media path. So, 
the absence of the LEAVE tone seams (IMO) to be expected behavior.

Assuming that one accepts that the observed behavior is expected then the 
question requirement to playout a tone when a party leaves is bogus. If I hit 
this in the real lab and the requirement says a tone must be played when the 
line is barged AND when the barging party leaves, I would bring it up to the 
proctor as a bogus requirement. The dspfarm is removed from the call at the 
point where the barging party leaves and is no longer in the media path. If, on 
the other hand, it simply says parties on the call should hear a tone when the 
line is barged then there is no problem. 


-Bill



--
William Bell
blog: http://ucguerrilla.com
twitter: @ucguerrilla



On Feb 17, 2013, at 9:45 PM, Jason Lee wrote:

 I'll give it a go tomorrow.  I already reverted my pod this evening.  I'll be 
 doing another lab tomorrow, so I should be able to test this put by tomorrow 
 afternoon.  
 
 Sent from my iPad
 
 On Feb 17, 2013, at 9:14 PM, Bill whl...@gmail.com wrote:
 
 I think Justin might be on to it but it has been a while since I have done 
 this in the lab.  
 
 
 
 Sent from my iPad
 
 On Feb 17, 2013, at 3:06 PM, Justin Carney justin.s.car...@gmail.com wrote:
 
 I haven't tested this recently, but it may help to make the join/leave 
 tones use different frequencies, as well as using different time intervals 
 for the cadence.
 
 I'm not sure why you're getting these strange results (two tones on join 
 when your cadence only shows one and no tone on leave), but there may be 
 some strange feature (or bug) that has to do with both join and leave 
 using the same frequency.
 
 voice class custom-cptone leave
  dualtone conference
   frequency 300
   cadence 400 500 600
 !
 voice class custom-cptone join
  dualtone conference
   frequency 700
   cadence 800
 
 -Justin
 
 On Sun, Feb 17, 2013 at 1:56 PM, William Bell b...@ucguerrilla.com wrote:
 I don't have an answer for you. However, I can confirm that I have noticed 
 the same behavior. When I have associated custom tones for join/leave 
 events, I only hear the tone on join. Nada on leave. I haven't figured it 
 out yet. 
 
 
 -Bill
 --
 William Bell
 blog: http://ucguerrilla.com
 twitter: @ucguerrilla
 
 
 
 On Feb 17, 2013, at 12:39 PM, Jason Lee wrote:
 
 All,
 
 I have continually struggled with custom tones for a while now.  I'm 
 working on the 5LB Lab 1 today and have the preserve CBarge configuration 
 in place.  As I have it configured I'm expecting to hear one tone on entry 
 and 2 when a call exits the call.  
 
 What I'm actually hearing is 2 on join and nothing on leave.  
 
 Here's the config.  Can anyone see anything that I'm doing wrong?
 
 
 
 r2800-2j-b#sh run
 Building 

Re: [OSL | CCIE_Voice] Custom Tones

2013-02-18 Thread Jason Lee
I ran through all the same scenarios as you and got the exact same results.
 I agree with your assessment of the situation.  Lets hope we don't have to
have a discussion with the Proctor about bogus requirements!

Thanks so much for taking the time to give this the run through.


On Mon, Feb 18, 2013 at 1:25 PM, William Bell b...@ucguerrilla.com wrote:

 Jason,

 I played with this some today and I think a lightbulb went off for me. The
 assumed scenario for cBarge + custom-cptone is:

 1. PhoneC calls shared line on PhoneA/PhoneB   (Phones A and B are
 registered to CME)
 2. Phone A answers on shared line
 3. Phone B seizes line (remote in use) and selects the cBarge softkey
 4. At this point the custom-cptone for JOIN should be played out
 5. Phone B disconnects from call
 6. Our assumption is that the custom-cptone for LEAVE should be played out

 I have always had the same experience you noted. Which is:

 Step 4 works fine, no problem.

 Step 6 never works. IOW, I never hear a leave tone.

 I tested different configs for custom-cptone, even though doing so didn't
 make much sense. The behavior is the same. You do want to make sure that
 the frequency is different. The cadence can be the same as far as I can
 tell, but it can be diff too. Not really all that relevant to the question.

 I then tested MML using the same cptone setup and I do get JOIN and LEAVE
 tones. A clue that the voice-class assignment to the dspfarm is healthy.

 I then tested ad-hoc conference from one of the phones. Only test 3 party
 conference. I hear a JOIN tone when the 3rd party is added. I DO NOT hear a
 LEAVE tone when that third party disconnects. At this point it dawns on me
 what is going on. For giggles, I did another set of tests.

 I tested ad-hoc with 4 parties. I also tested a barge-in and then an
 ad-hoc add for a fourth party. If any single party (save the initiator)
 leaves that ad-hoc conference, a tone is played out to remaining parties
 (which is now 3). If one of the remaining three parties leaves (except for
 the conference initiator) then there is NO tone played out to the remaining
 two parties.

 Based on observed behavior, I am thinking that things are behaving as
 designed. The custom-cptones are associated with the dspfarm profile. When
 you transition from a 2-party call to a 3+ party call, you are involving
 the dspfarm and getting the tones. When you drop to a 2-party call, you are
 dropping the need for a dspfarm and the call becomes point-to-point. So, if
 the dspfarm was attempting to playout tones, it is no longer involved in
 the media path. So, the absence of the LEAVE tone seams (IMO) to be
 expected behavior.

 Assuming that one accepts that the observed behavior is expected then the
 question requirement to playout a tone when a party leaves is bogus. If I
 hit this in the real lab and the requirement says a tone must be played
 when the line is barged AND when the barging party leaves, I would bring it
 up to the proctor as a bogus requirement. The dspfarm is removed from the
 call at the point where the barging party leaves and is no longer in the
 media path. If, on the other hand, it simply says parties on the call
 should hear a tone when the line is barged then there is no problem.


 -Bill



 --
 William Bell
 blog: http://ucguerrilla.com
 twitter: @ucguerrilla



 On Feb 17, 2013, at 9:45 PM, Jason Lee wrote:

 I'll give it a go tomorrow.  I already reverted my pod this evening.  I'll
 be doing another lab tomorrow, so I should be able to test this put by
 tomorrow afternoon.

 Sent from my iPad

 On Feb 17, 2013, at 9:14 PM, Bill whl...@gmail.com wrote:

 I think Justin might be on to it but it has been a while since I have done
 this in the lab.



 Sent from my iPad

 On Feb 17, 2013, at 3:06 PM, Justin Carney justin.s.car...@gmail.com
 wrote:

 I haven't tested this recently, but it may help to make the join/leave
 tones use different frequencies, as well as using different time intervals
 for the cadence.

 I'm not sure why you're getting these strange results (two tones on join
 when your cadence only shows one and no tone on leave), but there may be
 some strange feature (or bug) that has to do with both join and leave
 using the same frequency.

 voice class custom-cptone leave
  dualtone conference
   frequency 300
   cadence 400 500 600
 !
 voice class custom-cptone join
  dualtone conference
   frequency 700
   cadence 800

 -Justin

 On Sun, Feb 17, 2013 at 1:56 PM, William Bell b...@ucguerrilla.comwrote:

 I don't have an answer for you. However, I can confirm that I have
 noticed the same behavior. When I have associated custom tones for
 join/leave events, I only hear the tone on join. Nada on leave. I haven't
 figured it out yet.


 -Bill
  --
 William Bell
 blog: http://ucguerrilla.com
 twitter: @ucguerrilla



 On Feb 17, 2013, at 12:39 PM, Jason Lee wrote:

 All,

 I have continually struggled with custom tones for a while now.  I'm
 working on the 5LB Lab 1 

[OSL | CCIE_Voice] Custom Tones

2013-02-17 Thread Jason Lee
All,

I have continually struggled with custom tones for a while now.  I'm
working on the 5LB Lab 1 today and have the preserve CBarge configuration
in place.  As I have it configured I'm expecting to hear one tone on entry
and 2 when a call exits the call.

What I'm actually hearing is 2 on join and nothing on leave.

Here's the config.  Can anyone see anything that I'm doing wrong?



r2800-2j-b#sh run
Building configuration...


Current configuration : 9095 bytes
!
! Last configuration change at 17:35:03 GMT Sun Feb 17 2013
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname r2800-2j-b
!
boot-start-marker
boot system flash
boot-end-marker
!
card type e1 0 1
card type t1 1
logging message-counter syslog
enable password cisco
!
no aaa new-model
clock timezone GMT 0
no network-clock-participate slot 1
network-clock-participate wic 1
network-clock-select 1 E1 0/1/0
!
dot11 syslog
ip source-route
!
!
ip cef
ip dhcp excluded-address 192.168.106.0 192.168.106.119
ip dhcp excluded-address 192.168.106.130 192.168.106.255
!
ip dhcp pool phn2
   host 192.168.106.130 255.255.255.0
   client-identifier 01c8.f9f9.d739.77
   default-router 192.168.106.1
   option 150 ip 192.168.100.100 192.168.100.101
!
ip dhcp pool voip
   network 192.168.106.0 255.255.255.0
   option 150 ip 192.168.100.100 192.168.100.101
   default-router 192.168.106.1
!
 --More--
.Feb 17 17:35:03.037: %SYS-5-CONFIG_I: Configured from console !e
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-net5
!
!
!
voice service voip
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
 fax protocol cisco
!
!
!
voice class codec 1
 codec preference 1 g711ulaw
 codec preference 2 g729r8
!
!
!
!
voice class h323 1
  h225 timeout tcp establish 3
!
!
!
!
voice class custom-cptone leave
 dualtone conference
  frequency 300
  cadence 400 400 400
!
voice class custom-cptone join
 dualtone conference
  frequency 300
  cadence 400
!
!
!
!
!
!
!
!
voice translation-rule 1
 rule 1 /.+\(\)$/ /\1/
!
voice translation-rule 9
 rule 1 /^[0-8]/ /9\0/
!
voice translation-rule 23
 rule 1 /2.../ /001202555\0/ type any international plan any isdn
 rule 2 /3.../ /001408387\0/ type any international plan any isdn
!
voice translation-rule 97
 rule 4 // // type any subscriber plan any isdn
!
voice translation-rule 910
 rule 4 // // type any national plan any isdn
!
voice translation-rule 911
 rule 4 // // type any unknown plan any unknown
!
voice translation-rule 971
 rule 1 /4.../ /+44207796\0/
 rule 4 // // type any subscriber plan any isdn
!
voice translation-rule 9011
 rule 4 // // type any international plan any isdn
!
voice translation-rule 9101
 rule 1 /4.../ /+44207796\0/
 rule 4 // // type any national plan any isdn
!
voice translation-rule 9111
 rule 1 /4...$/ /7796\0/
 rule 4 // // type any unknown plan any unknown
!
voice translation-rule 90111
 rule 1 /4.../ /+44207796\0/
 rule 4 // // type any international plan any isdn
!
!
voice translation-profile 23
 translate called 23
!
voice translation-profile 9
 translate calling 1
 translate called 9
!
voice translation-profile 9011
 translate calling 90111
 translate called 9011
!
voice translation-profile 910
 translate calling 9101
 translate called 910
!
voice translation-profile 911
 translate calling 9111
 translate called 911
!
voice translation-profile 97
 translate calling 971
 translate called 97
!
voice translation-profile strip
 translate called 1
!
!
voice-card 0
 dsp services dspfarm
!
!
!
!
!
archive
 log config
  hidekeys
!
!
!
!
!
controller E1 0/1/0
 pri-group timeslots 1-3,16
!
controller E1 0/1/1
!
controller T1 1/0
 cablelength long 0db
!
controller T1 1/1
 cablelength long 0db
!
!
!
!
!
interface Loopback0
 ip address 192.168.96.2 255.255.255.255
 h323-gateway voip bind srcaddr 192.168.96.2
!
interface GigabitEthernet0/0
 no ip address
 duplex auto
 speed auto
!
interface GigabitEthernet0/0.105
 encapsulation dot1Q 105 native
 ip address 192.168.105.1 255.255.255.0
!
interface GigabitEthernet0/0.106
 encapsulation dot1Q 106
 ip address 192.168.106.1 255.255.255.0
!
interface Service-Engine0/0
 ip unnumbered GigabitEthernet0/0.106
 service-module ip address 192.168.106.2 255.255.255.0
 service-module ip default-gateway 192.168.106.1
!
interface GigabitEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface FastEthernet0/3/0
 shutdown
!
interface FastEthernet0/3/1
 shutdown
!
interface FastEthernet0/3/2
 shutdown
!
interface FastEthernet0/3/3
 shutdown
!
interface Serial0/0/0
 no ip address
 encapsulation frame-relay IETF
 no fair-queue
 frame-relay lmi-type ansi
 ip rsvp bandwidth
!
interface Serial0/0/0.1 point-to-point
 description FR-WAN INTERFACE - DLCI 102
 ip address 192.168.111.10 255.255.255.252
 shutdown
 frame-relay interface-dlci 102
 ip rsvp bandwidth 64
!

Re: [OSL | CCIE_Voice] Custom Tones

2013-02-17 Thread William Bell
I don't have an answer for you. However, I can confirm that I have noticed the 
same behavior. When I have associated custom tones for join/leave events, I 
only hear the tone on join. Nada on leave. I haven't figured it out yet. 


-Bill
--
William Bell
blog: http://ucguerrilla.com
twitter: @ucguerrilla



On Feb 17, 2013, at 12:39 PM, Jason Lee wrote:

 All,
 
 I have continually struggled with custom tones for a while now.  I'm working 
 on the 5LB Lab 1 today and have the preserve CBarge configuration in place.  
 As I have it configured I'm expecting to hear one tone on entry and 2 when a 
 call exits the call.  
 
 What I'm actually hearing is 2 on join and nothing on leave.  
 
 Here's the config.  Can anyone see anything that I'm doing wrong?
 
 
 
 r2800-2j-b#sh run
 Building configuration...
 
 
 Current configuration : 9095 bytes
 !
 ! Last configuration change at 17:35:03 GMT Sun Feb 17 2013
 !
 version 12.4
 service timestamps debug datetime msec
 service timestamps log datetime msec
 no service password-encryption
 !
 hostname r2800-2j-b
 !
 boot-start-marker
 boot system flash 
 boot-end-marker
 !
 card type e1 0 1
 card type t1 1
 logging message-counter syslog
 enable password cisco
 !
 no aaa new-model
 clock timezone GMT 0
 no network-clock-participate slot 1 
 network-clock-participate wic 1 
 network-clock-select 1 E1 0/1/0
 !
 dot11 syslog
 ip source-route
 !
 !
 ip cef
 ip dhcp excluded-address 192.168.106.0 192.168.106.119
 ip dhcp excluded-address 192.168.106.130 192.168.106.255
 !
 ip dhcp pool phn2
host 192.168.106.130 255.255.255.0
client-identifier 01c8.f9f9.d739.77
default-router 192.168.106.1 
option 150 ip 192.168.100.100 192.168.100.101 
 !
 ip dhcp pool voip
network 192.168.106.0 255.255.255.0
option 150 ip 192.168.100.100 192.168.100.101 
default-router 192.168.106.1 
 !
  --More-- 
 .Feb 17 17:35:03.037: %SYS-5-CONFIG_I: Configured from console !e
 no ip domain lookup
 no ipv6 cef
 !
 multilink bundle-name authenticated
 !
 !
 !
 !
 isdn switch-type primary-net5
 !
 !
 !
 voice service voip 
  allow-connections h323 to h323
  allow-connections h323 to sip
  allow-connections sip to h323
  allow-connections sip to sip
  fax protocol cisco 
 !
 !
 !
 voice class codec 1
  codec preference 1 g711ulaw
  codec preference 2 g729r8
 !
 !
 !
 !
 voice class h323 1
   h225 timeout tcp establish 3
 !
 !
 !
 !
 voice class custom-cptone leave
  dualtone conference
   frequency 300
   cadence 400 400 400
 !
 voice class custom-cptone join
  dualtone conference
   frequency 300
   cadence 400
 !
 !
 ! 
 !
 !
 !
 !
 !
 voice translation-rule 1
  rule 1 /.+\(\)$/ /\1/
 !
 voice translation-rule 9
  rule 1 /^[0-8]/ /9\0/
 !
 voice translation-rule 23
  rule 1 /2.../ /001202555\0/ type any international plan any isdn
  rule 2 /3.../ /001408387\0/ type any international plan any isdn
 !
 voice translation-rule 97
  rule 4 // // type any subscriber plan any isdn
 !
 voice translation-rule 910
  rule 4 // // type any national plan any isdn
 !
 voice translation-rule 911
  rule 4 // // type any unknown plan any unknown
 !
 voice translation-rule 971
  rule 1 /4.../ /+44207796\0/
  rule 4 // // type any subscriber plan any isdn
 !
 voice translation-rule 9011
  rule 4 // // type any international plan any isdn
 !
 voice translation-rule 9101
  rule 1 /4.../ /+44207796\0/
  rule 4 // // type any national plan any isdn
 !
 voice translation-rule 9111
  rule 1 /4...$/ /7796\0/
  rule 4 // // type any unknown plan any unknown
 !
 voice translation-rule 90111
  rule 1 /4.../ /+44207796\0/
  rule 4 // // type any international plan any isdn
 !
 !
 voice translation-profile 23
  translate called 23
 !
 voice translation-profile 9
  translate calling 1
  translate called 9
 !
 voice translation-profile 9011
  translate calling 90111
  translate called 9011
 !
 voice translation-profile 910
  translate calling 9101
  translate called 910
 !
 voice translation-profile 911
  translate calling 9111
  translate called 911
 !
 voice translation-profile 97
  translate calling 971
  translate called 97
 !
 voice translation-profile strip
  translate called 1
 !
 !
 voice-card 0
  dsp services dspfarm
 !
 !
 !
 !
 !
 archive
  log config
   hidekeys
 ! 
 !
 !
 !
 !
 controller E1 0/1/0
  pri-group timeslots 1-3,16
 !
 controller E1 0/1/1
 !
 controller T1 1/0
  cablelength long 0db
 !
 controller T1 1/1
  cablelength long 0db
 !
 !
 !
 !
 !
 interface Loopback0
  ip address 192.168.96.2 255.255.255.255
  h323-gateway voip bind srcaddr 192.168.96.2
 !
 interface GigabitEthernet0/0
  no ip address
  duplex auto
  speed auto
 !
 interface GigabitEthernet0/0.105
  encapsulation dot1Q 105 native
  ip address 192.168.105.1 255.255.255.0
 !
 interface GigabitEthernet0/0.106
  encapsulation dot1Q 106
  ip address 192.168.106.1 255.255.255.0
 !
 interface Service-Engine0/0
  ip unnumbered GigabitEthernet0/0.106
  service-module ip address 192.168.106.2 255.255.255.0
  

Re: [OSL | CCIE_Voice] Custom Tones

2013-02-17 Thread Justin Carney
I haven't tested this recently, but it may help to make the join/leave
tones use different frequencies, as well as using different time intervals
for the cadence.

I'm not sure why you're getting these strange results (two tones on join
when your cadence only shows one and no tone on leave), but there may be
some strange feature (or bug) that has to do with both join and leave
using the same frequency.

voice class custom-cptone leave
 dualtone conference
  frequency 300
  cadence 400 500 600
!
voice class custom-cptone join
 dualtone conference
  frequency 700
  cadence 800

-Justin

On Sun, Feb 17, 2013 at 1:56 PM, William Bell b...@ucguerrilla.com wrote:

 I don't have an answer for you. However, I can confirm that I have noticed
 the same behavior. When I have associated custom tones for join/leave
 events, I only hear the tone on join. Nada on leave. I haven't figured it
 out yet.


 -Bill
 --
 William Bell
 blog: http://ucguerrilla.com
 twitter: @ucguerrilla



 On Feb 17, 2013, at 12:39 PM, Jason Lee wrote:

 All,

 I have continually struggled with custom tones for a while now.  I'm
 working on the 5LB Lab 1 today and have the preserve CBarge configuration
 in place.  As I have it configured I'm expecting to hear one tone on entry
 and 2 when a call exits the call.

 What I'm actually hearing is 2 on join and nothing on leave.

 Here's the config.  Can anyone see anything that I'm doing wrong?



 r2800-2j-b#sh run
 Building configuration...


 Current configuration : 9095 bytes
 !
 ! Last configuration change at 17:35:03 GMT Sun Feb 17 2013
 !
 version 12.4
 service timestamps debug datetime msec
 service timestamps log datetime msec
 no service password-encryption
 !
 hostname r2800-2j-b
 !
 boot-start-marker
 boot system flash
 boot-end-marker
 !
 card type e1 0 1
 card type t1 1
 logging message-counter syslog
 enable password cisco
 !
 no aaa new-model
 clock timezone GMT 0
 no network-clock-participate slot 1
 network-clock-participate wic 1
 network-clock-select 1 E1 0/1/0
 !
 dot11 syslog
 ip source-route
 !
 !
 ip cef
 ip dhcp excluded-address 192.168.106.0 192.168.106.119
 ip dhcp excluded-address 192.168.106.130 192.168.106.255
 !
 ip dhcp pool phn2
host 192.168.106.130 255.255.255.0
client-identifier 01c8.f9f9.d739.77
default-router 192.168.106.1
option 150 ip 192.168.100.100 192.168.100.101
 !
 ip dhcp pool voip
network 192.168.106.0 255.255.255.0
option 150 ip 192.168.100.100 192.168.100.101
default-router 192.168.106.1
 !
  --More--
 .Feb 17 17:35:03.037: %SYS-5-CONFIG_I: Configured from console !e
 no ip domain lookup
 no ipv6 cef
 !
 multilink bundle-name authenticated
 !
 !
 !
 !
 isdn switch-type primary-net5
 !
 !
 !
 voice service voip
  allow-connections h323 to h323
  allow-connections h323 to sip
  allow-connections sip to h323
  allow-connections sip to sip
  fax protocol cisco
 !
 !
 !
 voice class codec 1
  codec preference 1 g711ulaw
  codec preference 2 g729r8
 !
 !
 !
 !
 voice class h323 1
   h225 timeout tcp establish 3
 !
 !
 !
 !
 voice class custom-cptone leave
  dualtone conference
   frequency 300
   cadence 400 400 400
 !
 voice class custom-cptone join
  dualtone conference
   frequency 300
   cadence 400
 !
 !
 !
 !
 !
 !
 !
 !
 voice translation-rule 1
  rule 1 /.+\(\)$/ /\1/
 !
 voice translation-rule 9
  rule 1 /^[0-8]/ /9\0/
 !
 voice translation-rule 23
  rule 1 /2.../ /001202555\0/ type any international plan any isdn
  rule 2 /3.../ /001408387\0/ type any international plan any isdn
 !
 voice translation-rule 97
  rule 4 // // type any subscriber plan any isdn
 !
 voice translation-rule 910
  rule 4 // // type any national plan any isdn
 !
 voice translation-rule 911
  rule 4 // // type any unknown plan any unknown
 !
 voice translation-rule 971
  rule 1 /4.../ /+44207796\0/
  rule 4 // // type any subscriber plan any isdn
 !
 voice translation-rule 9011
  rule 4 // // type any international plan any isdn
 !
 voice translation-rule 9101
  rule 1 /4.../ /+44207796\0/
  rule 4 // // type any national plan any isdn
 !
 voice translation-rule 9111
  rule 1 /4...$/ /7796\0/
  rule 4 // // type any unknown plan any unknown
 !
 voice translation-rule 90111
  rule 1 /4.../ /+44207796\0/
  rule 4 // // type any international plan any isdn
 !
 !
 voice translation-profile 23
  translate called 23
 !
 voice translation-profile 9
  translate calling 1
  translate called 9
 !
 voice translation-profile 9011
  translate calling 90111
  translate called 9011
 !
 voice translation-profile 910
  translate calling 9101
  translate called 910
 !
 voice translation-profile 911
  translate calling 9111
  translate called 911
 !
 voice translation-profile 97
  translate calling 971
  translate called 97
 !
 voice translation-profile strip
  translate called 1
 !
 !
 voice-card 0
  dsp services dspfarm
 !
 !
 !
 !
 !
 archive
  log config
   hidekeys
 !
 !
 !
 !
 !
 controller E1 0/1/0
  pri-group timeslots 1-3,16
 !
 controller E1 

Re: [OSL | CCIE_Voice] Custom Tones

2013-02-17 Thread Bill
I think Justin might be on to it but it has been a while since I have done this 
in the lab.  



Sent from my iPad

On Feb 17, 2013, at 3:06 PM, Justin Carney justin.s.car...@gmail.com wrote:

 I haven't tested this recently, but it may help to make the join/leave tones 
 use different frequencies, as well as using different time intervals for the 
 cadence.
 
 I'm not sure why you're getting these strange results (two tones on join when 
 your cadence only shows one and no tone on leave), but there may be some 
 strange feature (or bug) that has to do with both join and leave using the 
 same frequency.
 
 voice class custom-cptone leave
  dualtone conference
   frequency 300
   cadence 400 500 600
 !
 voice class custom-cptone join
  dualtone conference
   frequency 700
   cadence 800
 
 -Justin
 
 On Sun, Feb 17, 2013 at 1:56 PM, William Bell b...@ucguerrilla.com wrote:
 I don't have an answer for you. However, I can confirm that I have noticed 
 the same behavior. When I have associated custom tones for join/leave 
 events, I only hear the tone on join. Nada on leave. I haven't figured it 
 out yet. 
 
 
 -Bill
 --
 William Bell
 blog: http://ucguerrilla.com
 twitter: @ucguerrilla
 
 
 
 On Feb 17, 2013, at 12:39 PM, Jason Lee wrote:
 
 All,
 
 I have continually struggled with custom tones for a while now.  I'm 
 working on the 5LB Lab 1 today and have the preserve CBarge configuration 
 in place.  As I have it configured I'm expecting to hear one tone on entry 
 and 2 when a call exits the call.  
 
 What I'm actually hearing is 2 on join and nothing on leave.  
 
 Here's the config.  Can anyone see anything that I'm doing wrong?
 
 
 
 r2800-2j-b#sh run
 Building configuration...
 
 
 Current configuration : 9095 bytes
 !
 ! Last configuration change at 17:35:03 GMT Sun Feb 17 2013
 !
 version 12.4
 service timestamps debug datetime msec
 service timestamps log datetime msec
 no service password-encryption
 !
 hostname r2800-2j-b
 !
 boot-start-marker
 boot system flash 
 boot-end-marker
 !
 card type e1 0 1
 card type t1 1
 logging message-counter syslog
 enable password cisco
 !
 no aaa new-model
 clock timezone GMT 0
 no network-clock-participate slot 1 
 network-clock-participate wic 1 
 network-clock-select 1 E1 0/1/0
 !
 dot11 syslog
 ip source-route
 !
 !
 ip cef
 ip dhcp excluded-address 192.168.106.0 192.168.106.119
 ip dhcp excluded-address 192.168.106.130 192.168.106.255
 !
 ip dhcp pool phn2
host 192.168.106.130 255.255.255.0
client-identifier 01c8.f9f9.d739.77
default-router 192.168.106.1 
option 150 ip 192.168.100.100 192.168.100.101 
 !
 ip dhcp pool voip
network 192.168.106.0 255.255.255.0
option 150 ip 192.168.100.100 192.168.100.101 
default-router 192.168.106.1 
 !
  --More-- 
 .Feb 17 17:35:03.037: %SYS-5-CONFIG_I: Configured from console !e
 no ip domain lookup
 no ipv6 cef
 !
 multilink bundle-name authenticated
 !
 !
 !
 !
 isdn switch-type primary-net5
 !
 !
 !
 voice service voip 
  allow-connections h323 to h323
  allow-connections h323 to sip
  allow-connections sip to h323
  allow-connections sip to sip
  fax protocol cisco 
 !
 !
 !
 voice class codec 1
  codec preference 1 g711ulaw
  codec preference 2 g729r8
 !
 !
 !
 !
 voice class h323 1
   h225 timeout tcp establish 3
 !
 !
 !
 !
 voice class custom-cptone leave
  dualtone conference
   frequency 300
   cadence 400 400 400
 !
 voice class custom-cptone join
  dualtone conference
   frequency 300
   cadence 400
 !
 !
 ! 
 !
 !
 !
 !
 !
 voice translation-rule 1
  rule 1 /.+\(\)$/ /\1/
 !
 voice translation-rule 9
  rule 1 /^[0-8]/ /9\0/
 !
 voice translation-rule 23
  rule 1 /2.../ /001202555\0/ type any international plan any isdn
  rule 2 /3.../ /001408387\0/ type any international plan any isdn
 !
 voice translation-rule 97
  rule 4 // // type any subscriber plan any isdn
 !
 voice translation-rule 910
  rule 4 // // type any national plan any isdn
 !
 voice translation-rule 911
  rule 4 // // type any unknown plan any unknown
 !
 voice translation-rule 971
  rule 1 /4.../ /+44207796\0/
  rule 4 // // type any subscriber plan any isdn
 !
 voice translation-rule 9011
  rule 4 // // type any international plan any isdn
 !
 voice translation-rule 9101
  rule 1 /4.../ /+44207796\0/
  rule 4 // // type any national plan any isdn
 !
 voice translation-rule 9111
  rule 1 /4...$/ /7796\0/
  rule 4 // // type any unknown plan any unknown
 !
 voice translation-rule 90111
  rule 1 /4.../ /+44207796\0/
  rule 4 // // type any international plan any isdn
 !
 !
 voice translation-profile 23
  translate called 23
 !
 voice translation-profile 9
  translate calling 1
  translate called 9
 !
 voice translation-profile 9011
  translate calling 90111
  translate called 9011
 !
 voice translation-profile 910
  translate calling 9101
  translate called 910
 !
 voice translation-profile 911
  translate calling 9111
  translate called 911
 !
 voice translation-profile 97
  translate 

Re: [OSL | CCIE_Voice] Custom Tones

2013-02-17 Thread Jason Lee
I'll give it a go tomorrow.  I already reverted my pod this evening.  I'll
be doing another lab tomorrow, so I should be able to test this put by
tomorrow afternoon.

Sent from my iPad

On Feb 17, 2013, at 9:14 PM, Bill whl...@gmail.com wrote:

I think Justin might be on to it but it has been a while since I have done
this in the lab.



Sent from my iPad

On Feb 17, 2013, at 3:06 PM, Justin Carney justin.s.car...@gmail.com
wrote:

I haven't tested this recently, but it may help to make the join/leave
tones use different frequencies, as well as using different time intervals
for the cadence.

I'm not sure why you're getting these strange results (two tones on join
when your cadence only shows one and no tone on leave), but there may be
some strange feature (or bug) that has to do with both join and leave
using the same frequency.

voice class custom-cptone leave
 dualtone conference
  frequency 300
  cadence 400 500 600
!
voice class custom-cptone join
 dualtone conference
  frequency 700
  cadence 800

-Justin

On Sun, Feb 17, 2013 at 1:56 PM, William Bell b...@ucguerrilla.com wrote:

 I don't have an answer for you. However, I can confirm that I have noticed
 the same behavior. When I have associated custom tones for join/leave
 events, I only hear the tone on join. Nada on leave. I haven't figured it
 out yet.


 -Bill
  --
 William Bell
 blog: http://ucguerrilla.com
 twitter: @ucguerrilla



 On Feb 17, 2013, at 12:39 PM, Jason Lee wrote:

 All,

 I have continually struggled with custom tones for a while now.  I'm
 working on the 5LB Lab 1 today and have the preserve CBarge configuration
 in place.  As I have it configured I'm expecting to hear one tone on entry
 and 2 when a call exits the call.

 What I'm actually hearing is 2 on join and nothing on leave.

 Here's the config.  Can anyone see anything that I'm doing wrong?



 r2800-2j-b#sh run
 Building configuration...


 Current configuration : 9095 bytes
 !
 ! Last configuration change at 17:35:03 GMT Sun Feb 17 2013
 !
 version 12.4
 service timestamps debug datetime msec
 service timestamps log datetime msec
 no service password-encryption
 !
 hostname r2800-2j-b
 !
 boot-start-marker
 boot system flash
 boot-end-marker
 !
 card type e1 0 1
 card type t1 1
 logging message-counter syslog
 enable password cisco
  !
 no aaa new-model
 clock timezone GMT 0
 no network-clock-participate slot 1
 network-clock-participate wic 1
 network-clock-select 1 E1 0/1/0
 !
 dot11 syslog
 ip source-route
 !
 !
 ip cef
 ip dhcp excluded-address 192.168.106.0 192.168.106.119
 ip dhcp excluded-address 192.168.106.130 192.168.106.255
 !
 ip dhcp pool phn2
host 192.168.106.130 255.255.255.0
client-identifier 01c8.f9f9.d739.77
default-router 192.168.106.1
option 150 ip 192.168.100.100 192.168.100.101
 !
 ip dhcp pool voip
network 192.168.106.0 255.255.255.0
option 150 ip 192.168.100.100 192.168.100.101
default-router 192.168.106.1
 !
  --More--
 .Feb 17 17:35:03.037: %SYS-5-CONFIG_I: Configured from console !e
 no ip domain lookup
 no ipv6 cef
 !
 multilink bundle-name authenticated
 !
 !
 !
 !
 isdn switch-type primary-net5
 !
 !
 !
 voice service voip
  allow-connections h323 to h323
  allow-connections h323 to sip
  allow-connections sip to h323
  allow-connections sip to sip
  fax protocol cisco
 !
 !
 !
 voice class codec 1
  codec preference 1 g711ulaw
  codec preference 2 g729r8
 !
 !
 !
 !
 voice class h323 1
   h225 timeout tcp establish 3
 !
 !
 !
 !
 voice class custom-cptone leave
  dualtone conference
   frequency 300
   cadence 400 400 400
 !
 voice class custom-cptone join
  dualtone conference
   frequency 300
   cadence 400
 !
 !
 !
 !
 !
 !
 !
 !
 voice translation-rule 1
  rule 1 /.+\(\)$/ /\1/
 !
 voice translation-rule 9
  rule 1 /^[0-8]/ /9\0/
 !
 voice translation-rule 23
  rule 1 /2.../ /001202555\0/ type any international plan any isdn
  rule 2 /3.../ /001408387\0/ type any international plan any isdn
 !
 voice translation-rule 97
  rule 4 // // type any subscriber plan any isdn
 !
 voice translation-rule 910
  rule 4 // // type any national plan any isdn
 !
 voice translation-rule 911
  rule 4 // // type any unknown plan any unknown
 !
 voice translation-rule 971
  rule 1 /4.../ /+44207796\0/
  rule 4 // // type any subscriber plan any isdn
 !
 voice translation-rule 9011
  rule 4 // // type any international plan any isdn
 !
 voice translation-rule 9101
  rule 1 /4.../ /+44207796\0/
  rule 4 // // type any national plan any isdn
 !
 voice translation-rule 9111
  rule 1 /4...$/ /7796\0/
  rule 4 // // type any unknown plan any unknown
 !
 voice translation-rule 90111
  rule 1 /4.../ /+44207796\0/
  rule 4 // // type any international plan any isdn
 !
 !
 voice translation-profile 23
  translate called 23
 !
 voice translation-profile 9
  translate calling 1
  translate called 9
 !
 voice translation-profile 9011
  translate calling 90111
  translate called 9011
 !
 voice translation-profile 910
  

Re: [OSL | CCIE_Voice] Custom Tones

2013-02-17 Thread Justin Carney
I just had another idea...you are using the *dual* tone ( ie two
tones/frequencies) command, but only specified one frequency.  Try adding a
second number on each frequency line.

voice class custom-cptone leave
 dualtone conference
  frequency 300 350
  cadence 400 500 600
!
voice class custom-cptone join
 dualtone conference
  frequency 700 750
  cadence 800

If this works (using two tones on the frequency command lines) then my
first idea of using different values may not apply but it could be useful
to troubleshoot.
 On Feb 17, 2013 9:45 PM, Jason Lee jas7...@gmail.com wrote:

 I'll give it a go tomorrow.  I already reverted my pod this evening.  I'll
 be doing another lab tomorrow, so I should be able to test this put by
 tomorrow afternoon.

 Sent from my iPad

 On Feb 17, 2013, at 9:14 PM, Bill whl...@gmail.com wrote:

 I think Justin might be on to it but it has been a while since I have done
 this in the lab.



 Sent from my iPad

 On Feb 17, 2013, at 3:06 PM, Justin Carney justin.s.car...@gmail.com
 wrote:

 I haven't tested this recently, but it may help to make the join/leave
 tones use different frequencies, as well as using different time intervals
 for the cadence.

 I'm not sure why you're getting these strange results (two tones on join
 when your cadence only shows one and no tone on leave), but there may be
 some strange feature (or bug) that has to do with both join and leave
 using the same frequency.

 voice class custom-cptone leave
  dualtone conference
   frequency 300
   cadence 400 500 600
 !
 voice class custom-cptone join
  dualtone conference
   frequency 700
   cadence 800

 -Justin

 On Sun, Feb 17, 2013 at 1:56 PM, William Bell b...@ucguerrilla.comwrote:

 I don't have an answer for you. However, I can confirm that I have
 noticed the same behavior. When I have associated custom tones for
 join/leave events, I only hear the tone on join. Nada on leave. I haven't
 figured it out yet.


 -Bill
  --
 William Bell
 blog: http://ucguerrilla.com
 twitter: @ucguerrilla



 On Feb 17, 2013, at 12:39 PM, Jason Lee wrote:

 All,

 I have continually struggled with custom tones for a while now.  I'm
 working on the 5LB Lab 1 today and have the preserve CBarge configuration
 in place.  As I have it configured I'm expecting to hear one tone on entry
 and 2 when a call exits the call.

 What I'm actually hearing is 2 on join and nothing on leave.

 Here's the config.  Can anyone see anything that I'm doing wrong?



 r2800-2j-b#sh run
 Building configuration...


 Current configuration : 9095 bytes
 !
 ! Last configuration change at 17:35:03 GMT Sun Feb 17 2013
 !
 version 12.4
 service timestamps debug datetime msec
 service timestamps log datetime msec
 no service password-encryption
 !
 hostname r2800-2j-b
 !
 boot-start-marker
 boot system flash
 boot-end-marker
 !
 card type e1 0 1
 card type t1 1
 logging message-counter syslog
 enable password cisco
  !
 no aaa new-model
 clock timezone GMT 0
 no network-clock-participate slot 1
 network-clock-participate wic 1
 network-clock-select 1 E1 0/1/0
 !
 dot11 syslog
 ip source-route
 !
 !
 ip cef
 ip dhcp excluded-address 192.168.106.0 192.168.106.119
 ip dhcp excluded-address 192.168.106.130 192.168.106.255
 !
 ip dhcp pool phn2
host 192.168.106.130 255.255.255.0
client-identifier 01c8.f9f9.d739.77
default-router 192.168.106.1
option 150 ip 192.168.100.100 192.168.100.101
 !
 ip dhcp pool voip
network 192.168.106.0 255.255.255.0
option 150 ip 192.168.100.100 192.168.100.101
default-router 192.168.106.1
 !
  --More--
 .Feb 17 17:35:03.037: %SYS-5-CONFIG_I: Configured from console !e
 no ip domain lookup
 no ipv6 cef
 !
 multilink bundle-name authenticated
 !
 !
 !
 !
 isdn switch-type primary-net5
 !
 !
 !
 voice service voip
  allow-connections h323 to h323
  allow-connections h323 to sip
  allow-connections sip to h323
  allow-connections sip to sip
  fax protocol cisco
 !
 !
 !
 voice class codec 1
  codec preference 1 g711ulaw
  codec preference 2 g729r8
 !
 !
 !
 !
 voice class h323 1
   h225 timeout tcp establish 3
 !
 !
 !
 !
 voice class custom-cptone leave
  dualtone conference
   frequency 300
   cadence 400 400 400
 !
 voice class custom-cptone join
  dualtone conference
   frequency 300
   cadence 400
 !
 !
 !
 !
 !
 !
 !
 !
 voice translation-rule 1
  rule 1 /.+\(\)$/ /\1/
 !
 voice translation-rule 9
  rule 1 /^[0-8]/ /9\0/
 !
 voice translation-rule 23
  rule 1 /2.../ /001202555\0/ type any international plan any isdn
  rule 2 /3.../ /001408387\0/ type any international plan any isdn
 !
 voice translation-rule 97
  rule 4 // // type any subscriber plan any isdn
 !
 voice translation-rule 910
  rule 4 // // type any national plan any isdn
 !
 voice translation-rule 911
  rule 4 // // type any unknown plan any unknown
 !
 voice translation-rule 971
  rule 1 /4.../ /+44207796\0/
  rule 4 // // type any subscriber plan any isdn
 !
 voice translation-rule 9011
  rule 4 // // type any