Input audio sometimes not connected properly
2009-07-09 15:43:03 GMT
I'm getting the sense that this list is not all that active. Still, I have a troublesome issue upon which I really really hope someone can give me some insight.
Using a simple little client with Sipxtapi, I'm setting up a SIP call with an audio RTP stream to an audio conference bridge on a media gateway. Mostly, everything gets set up ok: The initial SIP Invite goes as expected, the initial RTP stream for setting up the conference works perfectly fine. Then, the media gateway sends my client a sip re-INVITE, along with a new SDP for the new audio stream that will be used for the actual conference. I'm looking at the SIP and RTP data in wireshark and everything gets set up perfectly…
EXCEPT that most of the time, the RTP stream that comes back from the media gateway into sipxtapi seems to be improperly connected up. I see the proper RTP packets coming into sipxtapi, but I hear nothing in my speakers. Once in a blue moon, the issue does not manifest and I hear everything fine. Then I'll run it again and - poof - no audio can be heard (even though in wireshark I can clearly see it being sent from the media gateway into my app).
It seems like something is not quite right down in the medialib somewhere - some sort of race condition or timing issue. Sometimes it works, sometimes it doesn't. I'm poking around, placing debug lines and breakpoints, trying to isolate the problem, but so far no luck. My questions to any experts out there are:
1) is there any sort of known issue like this in sipxmedialib? If so, is there some easy workaround?
2) any sort of hint as to where I'd look in order to verify if the RTP packets are getting mixed in properly into the Flow Graph? That would be helpful, too.
3) any other ideas that I have not yet thought of.
Please, please… if anyone knowledgeable is out there reading this, could they please give me a few minutes of their time. I would be most appreciative. This bug (I'm going to call it a bug until proven otherwise) is really wasting a lot of my time.
Many thanks x 100,
_______________________________________________ sipxtapi-dev mailing list sipxtapi-dev <at> list.sipfoundry.org List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/