Wednesday, February 17, 2010

Missed calls log missing

It happens to some Cisco IP phones that missed calls log become empty. It is a weird situation and it may confuse the end users. You may see this behavior in ccm 7.x version. The problem won't go away even if you reset the firmware to default version and then upgrade to the latest version. The best solution is to remove the phone device and directory number from the data base. make a search that directory number does not exist in call manager. Then create the phone and assign the directory number to the phone.

Saturday, February 13, 2010

Music on Hold for Remote site

Cisco solution
Remote site router config
. Remote site in in G.729 region. G.729 will be used for voice calls.
!
Using MGCP back to CallManager for the analog devices.
ccm-manager fallback-mgcp
ccm-manager mgcp
ccm-manager music-on-hold
ccm-manager config server x.x.x.x
ccm-manager config
!
mgcp
mgcp call-agent x.x.x.x 2427 service-type mgcp version 0.1
mgcp dtmf-relay voip codec all mode out-of-band
mgcp rtp unreachable timeout 1000 action notify
mgcp modem passthrough voip mode nse
mgcp package-capability rtp-package
no mgcp package-capability res-package
mgcp package-capability sst-package
no mgcp package-capability fxr-package
mgcp package-capability pre-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp rtp payload-type g726r16 static
!
mgcp profile default
!
!
dial-peer voice 1 pots
incoming called-number .
port 0/2/0
!
dial-peer voice 2 voip
destination-pattern [1-8]...
session target ipv4:x.x.x.x
dtmf-relay h245-alphanumeric
codec g711ulaw !
!
dial-peer voice 3 pots
incoming called-number .
port 0/2/1
!
dial-peer voice 999020 pots
service mgcpapp
port 0/2/0
!
dial-peer voice 999030 pots
service mgcpapp
port 0/3/0
!
dial-peer voice 999021 pots
service mgcpapp
port 0/2/1
!
! Dial-peer 100 for SRST out dialing.
dial-peer voice 100 pots
port #
destination-pattern 9[2-9]......
!
! Need the gateway command to invoke H.323.
gateway
timer receive-rtp 1200
!
!
### SRST COMMANDS
call-manager-fallback
secondary-dialtone 9
max-conferences 8 gain -6
ip source-address x.x.x.x port 2000
max-ephones 5
max-dn 10
system message primary CM Failed, NOW on SRST
moh music-on-hold.au Our music file stored in flash.

Here is where the router enabled multicat MoH. Must put the same IP and port as specified in the CallManager MoH server.
multicast moh 239.1.1.1 port 16384 route xx.x.x.1 xx.x.x.x
!

!
End

Cisco Voice Router Commands

show isdn status
shows D channel
Layer 2 status should be Multiple_Frame_Established

show voice port summary
shows B channel

show controller t1
intervals are in 15 seconds
check for errors

no mgcp
perform in config t mode

mgcp
perform in config t mode

debug Q931

debug mgcp pack
check mgcp packets

reload in
reload the router after certain time in seconds


reload cancel
to cancel the reload

show tcp brief : inc port#

mgcp ports are 2427 and 2428
binds to 2428

show ccm host

no ccm-manager mgcp-
to shut down mgcp
ccm-manager mgcp

show dial-peer voice summary


show voice port summary
display port status

show voice port (port)
get a detailed port status

show voice call summary
shows call state info

show voice dsp
shows current status of DSP channels

show call active brief
displays truncated version of call information

show voice dsp
displays codecs being supported by the routers DSP’s

debug vtsp all
shows the voice telephony service provider stats

debug voice ccapi inout

show diag

show environment power
check total power supply output

show inlinepower
checks switch blade and port power usage

show call-manager-fallback all

show call-manager-fallback dial-peer

show ccm-manager fallback-mgcp

show call history voice brief

show voice busyout

show service module




csim start (dialstring)-
check the dialing 1 pots
destination-pattern 9T
port s0/0/x

Test commands
test voice port (slot/physicalport/logicalport) inject-tone local 500hz
test voice port (slot/physicalport/logicalport) inject-tone local disable
test voice port (slot/physicalport/logicalport) relay ring on
test voice port (slot/physicalport/logicalport) relay ring disable




opcagt –kill



+3 out attenuation
-3 input gain


CUE
service-module service-engine 0/0 session

service-module service-engine 0/0 status

service-module service-engine 0/0 reload

After logging into CUE

sh ccn status ccm-manager
shows whether it is registered with CallManager

To Turn on Buffering
buffer logging xxxx

Monday, February 8, 2010

reomote mobility voip phone set up for a group

Cisco Remote Mobility phone set up for a group of people:

By default we can add 4 cell phone numbers for remote destination in call manager. There are certain timers that we can adjust to get the preferred cell phone ring first.

The following timer settings will ring the preferred cell phone number first.

Preferred cell phone Number 1
Answer too soon timer : 2000
Answer too late timer : 19000
Delay Before Ringing timer: 0

Cell Phone 2


Answer too soon timer : 2000
Answer too late timer : 19000
Delay Before Ringing timer: 15000

Cell Phone 3


Answer too soon timer : 2000
Answer too late timer : 19000
Delay Before Ringing timer: 18000

Cell Phone 4


Answer too soon timer : 2000
Answer too late timer : 19000
Delay Before Ringing timer: 19000

cisco mobile phone set up to ring in sequential order:

Configuration setting for mobile phone set up to ring in sequential order:



The timer setting delay before ringing timer will determine the remote cell phone get the call first. In the following setting, user 1's cell phone will ring first.

Answer too late timer will determine the duration of time that cell phone rings.

In our scenario, user 2 cell ring for 10 seconds and user 3 cell phone rings for 5 seconds.



user 1 Cell Phone

Answer to soon timer: 0

Answer too late timer: 15000

delay before ringing timer : 0





user 2 Cell Phone



Answer to soon timer: 10000

Answer too late timer: 20000

delay before ringing timer :10000







user 3 Cell

Answer to soon timer: 10000

Answer too late timer: 25000

delay before ringing timer : 20000

Policy Routing

interface Vlan500
ip address 10.17.17.1 255.255.255.0
ip policy route-map test
!
interface Vlan600
ip address 10.16.16.1 255.255.255.0
ip policy route-map test

route-map test permit 10
match interface Vlan500 Vlan600
set ip next-hop xx.xx.xx.x

Policy routing does not affect the packets originated by the router.

You need to add the following command in the global configuration mode to test it from the router

(config)#ip local policy route-map test

Junos upgrade using flash card

Loader > install file:/// path /Junos image file name

Install file:///junos-file_name.tgz

Turn off pop notifications in chrome browser from major news outlets

 On Chrome browser, go to settings select privacy and security select site settings select Java Script Select Don't allow sites to use J...