Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

E1 R2 DID Cannot Connect to Unity

We have now connected E1 R2 DID (i.e. H323 gateway in CCM 4.1.3) in to our voice gateway(c2851). However, we get a problem to connect Unity 4.0. We find the call from E1 DID cannot go to Unity when CFwdALL, No answer or busy forward. So, I setup a hunt pilot number (within DID range) and map to voice mail port. I get the busy tone when dial this DID number from outside. I trace the call log in voice gateway and Call View in Unity. It is found that call can be terminated to Unity, but it seems Unity rejects the call. So, I would like to ask whether Unity is compatible with RS232 gateway or not. Below is our configuration.

=========================================

!

voice class h323 1

h225 timeout tcp establish 3

!

!

!

voice translation-rule 1

rule 1 // /5/

!

!

voice translation-profile inbound

translate called 1

!

!

controller E1 0/0/0

framing NO-CRC4

ds0-group 0 timeslots 1-15 type r2-digital r2-compelled ani

cas-custom 0

country philippines

dnis-digits min 1 max 3

!

voice-port 0/0/0:0

translation-profile incoming inbound

!

!

dial-peer voice 402 voip

description CCM-subscriber

preference 1

destination-pattern 5...

voice-class h323 1

session target ipv4:<subscriber ip addr>

dtmf-relay h245-alphanumeric

codec g711ulaw

ip qos dscp cs5 media

no vad

!

dial-peer voice 400 pots

incoming called-number .T

direct-inward-dial

port 0/0/0:0

!

!

dial-peer voice 404 voip

description CCM-publisher

preference 2

destination-pattern 5...

voice-class h323 1

session target ipv4:<publisher ip addr>

dtmf-relay h245-alphanumeric

codec g711ulaw

ip qos dscp cs5 media

no vad

!

=========================================

2 REPLIES
Cisco Employee

Re: E1 R2 DID Cannot Connect to Unity

Unity is just another VOIP capable device and is no different to a IP phone. So it should work with E1 R2 or another gateway protocol.

If you can call from the E1 R2 gateway to an IP phone but it fails with Unity, chances are this is a codec issue. Unity may want to use G729, and since your dial peers are only going to advertise G711ulaw, so there may be a codec negotiation problem.

Add the following to your config -

voice class codec 1

codec preference 1 g711ulaw

codec preference 2 g729r8

dial-peer voice 402

no codec g711ulaw

voice-class codec 1

!

dial-peer voice 404

no codec g711ulaw

voice-class codec 1

This will advertise G711 and G729 codec in the H245 capabilities when the call is made.

Community Member

Re: E1 R2 DID Cannot Connect to Unity

thanks a lot. it works after adding voice-class codec.

123
Views
0
Helpful
2
Replies
CreatePlease to create content