Archive for the ‘IOS Gateways’ Category

How to debug DTMF relay?

Posted: August 22, 2006 by cciestudy in Gateways, IOS Gateways

For H323

debug h245 asn1

For SIP

debug voip rtp session named-event

Sample output

H323

Aug 21 21:07:37.902: h245_decode_one_pdu: more_pdus = 0, bytesLeftToDecode = 7
Aug 21 21:07:37.902: H245 MSC INCOMING ENCODE BUFFER::= 6D810447200063
Aug 21 21:07:37.902:
Aug 21 21:07:37.902: H245 MSC INCOMING PDU ::=

value MultimediaSystemControlMessage ::= indication : userInput : signal :
{
signalType “9”
duration 100
}

SIP

Aug 21 21:07:37.902:          Pt:101    Evt:9       Pkt:04 00 00  <Snd>>>
Aug 21 21:07:37.902:          Pt:101    Evt:9       Pkt:04 00 00  <Snd>>>
Aug 21 21:07:37.902:          Pt:101    Evt:9       Pkt:04 00 00  <Snd>>>
Aug 21 21:07:37.902:          Pt:101    Evt:9       Pkt:04 01 90  <Snd>>>
Aug 21 21:07:37.902:          Pt:101    Evt:9       Pkt:84 03 20  <Snd>>>
Aug 21 21:07:37.902:          Pt:101    Evt:9       Pkt:84 03 20  <Snd>>>
Aug 21 21:07:37.902:          Pt:101    Evt:9       Pkt:84 03 20  <Snd>>>

voice translation-rule 1
rule 1 /\(^[2-9]………$\)/ /91\1/ — for national calls
rule 2 /\(.*\)/ /9011\1/ — for international calls

!
!
voice translation-profile ANI
translate calling 1

MGCP Call Preservation

Posted: July 19, 2006 by cciestudy in Cisco General, Gateways, IOS Gateways

MGCP PRI backhaul does not support call preservation when transitioned from Callmanager to SRST and vice versa.

H323/MGCP – Caller ID Display

Posted: July 19, 2006 by cciestudy in Cisco General, Gateways, IOS Gateways

H323 does not support Facility IE. H323 supports only Display IE

MGCP supports both Display and Facility IE

E1 R2 ANI

Posted: July 16, 2006 by cciestudy in Gateways, IOS Gateways

ANI is not available with E1R2 dtmf signaling. For all other E1R2 options, ANI is available and you need to select this option to have ANI send out.

Click to enlarge

H323 template

Posted: July 5, 2006 by cciestudy in IOS Gateways, Template

1. voice class codec, g711 as first preference and g729 second

2. voice class h323 with timeout 3

3. dial-peer to match incoming call leg

4. two dial-peers to send calls to CCM. enable no vad on these dial-peers and also dtmf-relay
5. 4 outgoing dial-peers for 911, local, long and international

6. enable qos for signaling

voice class codec 1
codec preference 1 g711alaw (under most circumstances g711ulaw is enough, unless the site is in Europse or a country that uses alaw)
codec preference 2 g711ulaw
codec preference 3 g729r8
!
!
!
voice class h323 1
h225 timeout tcp establish 3

dial-peer voice 1 pots
incoming called-number .
direct-inward-dial
port 1/0:1

dial-peer voice 2 voip
destination-pattern 3…
voice-class codec 1
voice-class h323 1
session target ipv4:10.1.21.39
dtmf-relay h245-alphanumeric
ip qos dscp cs3 signaling
no vad
!
dial-peer voice 3 voip
preference 1
destination-pattern 3…
voice-class codec 1
voice-class h323 1
session target ipv4:10.1.21.38
dtmf-relay h245-alphanumeric
ip qos dscp cs3 signaling
no vad

Issues with ANI

Posted: July 4, 2006 by cciestudy in IOS Gateways

If PSTN does not send ANI, then the gateway will use the destination pattern of the incoming dial peer as the ANI. The destination pattern needs to be a specific match like 911. It will not be used if there are any wild cards, like 9..

This is mostly seen as an issue in T1/E1 CAS.