Author Topic: How can RTP transport directly from client to client?  (Read 13414 times)

yyzhang

  • Newbie
  • *
  • Posts: 6
    • View Profile
How can RTP transport directly from client to client?
« on: March 07, 2014, 02:41:18 AM »
I want to realize that the voice data(RTP package) can transport directly from client to client and do not pass through the yate server.
How can I configure the parameters in configuration files to realize this?
I hope there is somebody can help me solve this problem !Thank you very much!!!

marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile

yyzhang

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: How can RTP transport directly from client to client?
« Reply #2 on: March 10, 2014, 05:24:38 AM »
Thank you for your reply,but that document is about h.323 client to sip client.Our system has just two sip client and do not involve h.323.
In this situation,how can i realize it?

marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: How can RTP transport directly from client to client?
« Reply #3 on: March 10, 2014, 05:29:41 AM »
In the same way.
The document IS NOT about h.323 to sip interworking, even if the included image shows an example of h.323 to sip call.

yyzhang

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: How can RTP transport directly from client to client?
« Reply #4 on: March 10, 2014, 05:33:05 AM »
OK,I‘ll try it.Thank you very much!

yyzhang

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: How can RTP transport directly from client to client?
« Reply #5 on: March 10, 2014, 05:53:48 AM »
I read the document,is it mean that I have to put the line below in the regexroute.conf ?
[default]
${rtp_forward}possible=;rtp_forward=yes

but it doesn't work!

marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: How can RTP transport directly from client to client?
« Reply #6 on: March 10, 2014, 06:08:19 AM »
If there is no rtp_forward=possible in call.route it means the caller didn't offered media.
Can you dump the call.route message?
And the received INVITE?
Better, can you dump a log with message sniffer and sip messages?

yyzhang

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: How can RTP transport directly from client to client?
« Reply #7 on: March 10, 2014, 06:19:14 AM »
I use wireshark and see the SIP signal and RTP package all pass through the yate server

marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: How can RTP transport directly from client to client?
« Reply #8 on: March 10, 2014, 06:41:30 AM »
I can't help you without yate log.
RTP forward is working. If you say is not working I need to see the log to see what happens.

yyzhang

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: How can RTP transport directly from client to client?
« Reply #9 on: March 24, 2014, 02:23:52 AM »
Thank you for your help!I install yate server in ubuntu12.04 instead of windows,and modify the configure files as you post that link.It is successful!
Maybe the configuration is not effective in windows.

marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: How can RTP transport directly from client to client?
« Reply #10 on: March 24, 2014, 02:42:25 AM »
You might not edit the right file on Windows.
See http://docs.yate.ro/wiki/Debugging_Yate_Client_on_Windows
See Introduction section.