cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Walkthrough Wednesdays

g.729 support with CTIPort

152
Views
0
Helpful
0
Comments
This document was generated from CDN thread

Created by: Umesh Chaurasia on 06-08-2013 12:16:22 PM
Hi, Does CTIPort supports g.729 codec? If not inbuilt what about using transcodeing using CUCM resources. I tried through transcoding but it''s dide n't work. I am suspecting there is some fault in my transcoding configuration. My other end is MeetMe conference bridge which only configured g.729. Can u pls confirm either CTIPort will be able to communicate with MeetMe bridge with g.729 or not?  Regards-Umesh

Subject: RE: g.729 support with CTIPort
Replied by: Abhishek Malhotra on 06-08-2013 06:14:32 PM
Application controls media for CTI ports. So, if your application can support G729 media termination then you can register CTI Port with CiscoG729MediaCapability and it should work just fine.

Subject: RE: g.729 support with CTIPort
Replied by: Umesh Chaurasia on 06-08-2013 11:10:30 PM
Hi Abhishek,Thanks for the reply. We have included following media capability related to g.729-        caps[9]  = new CiscoMediaCapability(CiscoRTPPayload.G729,20);caps[19] = CiscoMediaCapability.G729_30_MILLISECONDS;
        caps[10] = new CiscoMediaCapability(CiscoRTPPayload.G729ANNEXA,20);   but unble to get any voice when joing MeetMe conf or calling any device. I am able to receive voice using registered media terminal with g.711 codec.   Regards, Umesh

Subject: RE: g.729 support with CTIPort
Replied by: Abhishek Malhotra on 07-08-2013 04:01:15 AM
How are you registering your cti port(which api)? Is it static registration or dynamic registration(as in, are you providing iP address / port at the time of registration or on getting CiscoMediaOpenLogicalChannelEv?

Do you get CiscoRTPInputStartedEv/CiscoRTPOutputStartedEv? If so can you check what is the associated payload type in the event? You can check this via:
CiscoRTPInputStartedEv.getRTPInputProperties().getPayloadType() or 
CiscoRTPOutputStartedEv.getRTPOutputProperties().getPayloadType()

Also, can you wireshark and collect packet traces and see if there is any RTP traffic?

Subject: RE: g.729 support with CTIPort
Replied by: Umesh Chaurasia on 07-08-2013 05:52:00 AM
I am providing IPAddress, port and capability at the time of registration as below-
                 ciscoMediaTerminal.register(InetAddress.getByName(strCTIportIP),intPort, caps);

Subject: RE: g.729 support with CTIPort
Replied by: Umesh Chaurasia on 07-08-2013 09:45:05 AM
I am providing IPAddress, port and capability at the time of registration as below-                 ciscoMediaTerminal.register(InetAddress.getByName(strCTIportIP),intPort, caps);Following are the details of CiscoRTPInputStartedEv & CiscoRTPOutputStartedEv -Terminal : EMER40910::  Event: CiscoRTPInputStartedEv :: Cause: CAUSE_NORMAL :: No CallCtlCause :: CiscoRTPInputStartedEv: RTPHandle: 26695799 :: ConnectionMode: 3 :: RTPInput: BitRate:1 :: EchoCancellation: true :: LocalAddress: /192.168.4.225 :: LocalPort: 23482 :: PacketSize: 20 :: PayLoadType: 15 ::
Terminal : EMER40910::  Event: CiscoRTPOutputStartedEv :: Cause: CAUSE_NORMAL :: No CallCtlCause :: CiscoRTPOutputStartedEv: RTPHandle: 26695799 :: ConnectionMode: 3 :: RTPInput: BitRate:1 :: MaxFramesPerPacket: 80 :: RemoteAddress: /192.168.4.226 :: RemotePort: 28822 :: PacketSize: 20 :: PayLoadType: 15 :: PrecedenceValue: 184 :: SilentSuppression: false :: I don't see proper RTP data in wireshrk but unable to understand the reason.Regards,
Umesh

Subject: RE: g.729 support with CTIPort
Replied by: Abhishek Malhotra on 07-08-2013 09:03:54 AM
So, do you get Established and RTP events after you dial Meet Me number? If yes, can you check the payload type in rtp events?

Subject: RE: g.729 support with CTIPort
Replied by: Abhishek Malhotra on 07-08-2013 10:10:08 AM
Have you ruled out any firewall issues?
I cant think of any other obvious issues, you might want to collect logs and open a support case. 

Subject: RE: g.729 support with CTIPort
Replied by: Umesh Chaurasia on 07-08-2013 10:37:33 AM
Thanks Abhishek. I will check if there is firewall in between.    Regards, Umesh

Subject: RE: g.729 support with CTIPort
Replied by: Abhishek Malhotra on 08-08-2013 09:07:11 AM
Umesh Chaurasia:
Thanks Abhishek. I will check if there is firewall in between.    Regards, Umesh

I just looked at: http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/jtapi_dev/8_5_1/constantfieldvalues.html
As per this, standard "G729" has payload type of 11 while payload 15 is for "ACY_G729AASSN". Is this the one you intend to use?

Can you try registering media terminal with "com.cisco.jtapi.extensions.CiscoG729MediaCapability" by calling its constructor directly and see if it helps.
Content for Community-Ad