[OpenSIPS-Users] Query about RTP flow

Nandini madhu sermj2012 at gmail.com
Tue Feb 25 20:08:09 CET 2014


Dear Ali Pey,

Sorry for creating kind of mess in my question.
No i am not talking about any IP routing, But  my question is totally
related only to RTP packet flow between client -to- client. I mean when SIP
establihes a call session between two SIP clients (Which are registered to
OpenSIPS server), in that point of time How RTP packets (which carries
voice/video) flows from one client to another client ?

Here below is my test bed set-up :



And now My question is:
What is RTP session client-to-client ?
Is this *RTP packets* in voice/video call from caller will pass through
router 1 ---> switch ----> router 2---> destination SIP client ? or just
Caller to Destination client ? (without pass through any nodes in between).

(If suppose i run media proxy server with OpenSIPs server then RTP packets
has to pass through all the nodes (routers and switch) in between to get
relay to other end client right ?)

So in this context if i run only openSIPS server without any Media-proxy
servers, how the RTP packets are achieving Client-to-client transfer ?

Please help me in clarifying this questions.

Regards,
Nandini


On Tue, Feb 25, 2014 at 11:37 PM, Ali Pey <alipey at gmail.com> wrote:

> Nandini,
>
> I guess you are asking about IP routing. IP routing is based on IP
> addresses, Mac Addresses and ARP tables. The routers and switches receive
> the Packets, examine the destination IP address and then send it the packet
> to the Mac address that can re-route the packet. Is this the kind of
> information you are looking for? I suggest you do a bit of reading on IP
> routing and the 7 networking layers.
>
> Regards,
> Ali Pey
>
>
>
> On Tue, Feb 25, 2014 at 12:49 PM, Nandini madhu <sermj2012 at gmail.com>wrote:
>
>> Dear Ali Pey,
>>
>> Thank you for the reply,
>>
>> I am agreeing with your answer, but I am specifically wanted to know how
>> physically the RTP packets flow from one client to other client in the
>> instance like in my above mentioned set-up.
>> As clients registers with SIP server, once signalling path establihed by
>> SIP, then RTP will take another path to transfer media between the clients.
>> so in this context what is the path this RTP packets follow to reach other
>> end client (to achieve client-client connection), when the SIP clients
>> (running on Andriod smart phones) are connected two diffrent Wi-Fi Access
>> Point ?
>> How RTP packets transfer from one client to another client if both the
>> clients connected to  Single WAP ?
>>
>> Please help me in clarifying this issues.
>>
>> I hope you could help me.
>>
>> Regards,
>> Nandini
>>
>>
>> On Tue, Feb 25, 2014 at 6:11 PM, Ali Pey <alipey at gmail.com> wrote:
>>
>>> Terms Direct RTP or Proxy RTP through your SIP server has nothing to do
>>> with your network routers and switches. It basically means if Client A is
>>> sending RTP packets to the IP address of Client B or if Client A is sending
>>> RTP packets to the IP address of your SIP server and the SIP server needs
>>> to re-send the packets to Client B and vise versa.
>>>
>>> So if the SIP server is in the middle of RTP communications that's proxy
>>> RTP. If RTP packets don't reach your SIP server and is only between the
>>> Clients, that's Direct speech path.
>>>
>>> Regards,
>>> Ali Pey
>>>
>>>
>>> On Tue, Feb 25, 2014 at 3:46 AM, Nandini madhu <sermj2012 at gmail.com>wrote:
>>>
>>>> Dear All,
>>>>
>>>> I have read about SIP and RTP packet flows but ended with a question
>>>> about RTP packets flow logic between client-to client when the SIP session
>>>> starts.
>>>> I have a running Opensips server on ubuntu platform which is also
>>>> configured fro DNS and DHCP servers.
>>>> And following is my test bed set-up:
>>>>
>>>>
>>>> Opensips server
>>>>                                                                  (DNS+
>>>> DHCP+Opensips)
>>>>
>>>>          |
>>>>                                   Router <---------------------------->
>>>> Switch<----------------------------> Router
>>>>                                       |
>>>>                                                      |
>>>>                                   clientA <---------------------
>>>> RTP(audio/video) ? --------------------> client B
>>>>
>>>> Now when the SIP session established (SIP Packets have to pass through
>>>> all the routers and switch to reach Opensips server), RTP session will
>>>> start between Client A and B. But What is meant by client to client here ?
>>>> what is the RTP packets path between the clients to reach their
>>>> destinations ?
>>>> Is the RTP packets have to pass through Routers and switch to reach its
>>>> destination client ? (i.e Client A--->Router 1---->switch -----> Router
>>>> 2-----> client B)  ?
>>>> What if i connect both client A and client B to the same router ?
>>>>
>>>> PS: I have not configured any media-relays (RTPproxy/Media-proxy)
>>>>
>>>> Please help me in clarifying all this doubts.
>>>>
>>>> Anybody's help will greatly appreciate.
>>>>
>>>> Regards,
>>>> Nandini
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140226/b3172073/attachment-0001.htm>


More information about the Users mailing list