Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - mingg

Pages: [1]
1
Linux / the sip status abnormal
« on: October 10, 2014, 07:52:01 AM »
I'm using yate as our experimental tools. I've made the secondary development based the yate source code. I only modified the code in yate/engine/Socket.cpp and yate/yateclass.h( to chage the behavior of receiving and sending voice-packet).
Now I encounter a strange problem.

start the yate client, and make a phone call, every thing is ok.(the status showing in the yate client will be "ringing --> accept")
However, when i make the second phone call, the called subscriber receive the phone call, but the status showing in the yate client of the caller is still "ringing"! And after a few seconds(about 6-16 seconds), the caller will hang up automatically.

And in the following phone calls, the caller will have a very high likehood of encounting this problem.(yes, this problem is not appearing all the time).

but if I restart the yate client, and make the first phone call, everything will be ok. The following phone calls still have this problem.

Does anybody know the reasons or solutions?

2
Linux / how to modify the yate client's ui
« on: June 03, 2014, 10:04:42 PM »
I want to modify the yate client's ui, and add some new functions into the configuration.
I use qt designer to modify the yate/Share/Skins/Default/settings.ui to add a combo box into the configuration interface.
However, I also need to add a slot to do something. Anybody knows how to add a slot and connect the signal, emitting by my combo box, to the slot that I defined?

3
Linux / how to restore the audio data without udp header
« on: March 28, 2014, 12:08:50 AM »
The packets of audio data transported between 2 yate clients should be in this form: [mac header][ip header][udp header][rtpRawPacket]
I'm making an experiment, I want to transport the audio data in this form: [mac header][MPLS header][rtpRawPacket]

I find out that: the yate-client5(http://voip.null.ro/tarballs/yate5/yate-5.2.0-1.tar.gz) send out the rtp packets using udp(using the function Socket::sendTo). In order to send out a raw rtp packet encapsulated in an ether frame, I overload the sendTo function in the class Socket. I send out the frame successfully.(in clientA)

and in clientB, I overload the recvFrom function in the class Socket, and I get the Frame, de-encapsulate the raw Rtp packet, but I don't know which funtion or object should get this raw rtp packet to restore the audio data. Since my clientB cannot restore the audio data, now it works sliently.

Does anyone know how to solve this problem?

4
Linux / [SOLVED]the client cannot make sound in centos
« on: March 19, 2014, 04:43:26 AM »
I build and install yate5 from source code(http://voip.null.ro/tarballs/yate5/yate-5.2.0-1.tar.gz)
when i run "./run-qt4", after all modules are loaded, i get a warning showed in the terminal:"<client:WARN> QT sounds are not available"
and when a call is comming or i make a call, the gui shows:
"audio failure
Failed to open audio.
Please check your sound card"

i use wireshark to capture the packets, it shows that:
1: i can get all the sip messages correctly
2:i can receive all the rtp packets from anther yate-client(running in windows)
but, my yate-client doesn't send out any rtp-packets!! And although i can receive all rtp packets from another client, i can hear anything through my earphone.

and i also test my earphone and microphone, they work fine.

i have this method:uncheck "setting->options->telephony->Ringer", it doesn't work.

I've uploaded the log.

I hope i've made the problem clear....

Pages: [1]