An attribute is said to be session level, if it present before the first m= line in SDP. Media level means, it should be present between two m= lines and it will be associated with top m= line.
For more information, go through SDP RFCs. On Wed, Feb 13, 2013 at 3:52 PM, ikuzar RABE <[email protected]> wrote: > Hi Venu Y! > thanks for your response. > > What do you mean with "session level" and "media level" ? > > > 2013/2/13 venu Y <[email protected]> > >> Hi, >> >> If I understood your question properly, >> >> You can get the remote IP address from the SDP present in INVITE/200 >> OK/ACK. >> >> It is the 'c=' line by default applies to all media streams present in the >> session. >> 'c=' line can be present either in session level or media level, then >> media >> level takes precedence. >> >> If you have obtained domain address, instead of IP address, use DNS >> service >> to resolve the domain name and obtain IP addresss. >> 1. You can use system provided APIs to resolve domain address to IP. >> Or >> If you have your own implementation of DNS, resolve for 'A' records. >> >> Hope this answers. >> >> Regards >> -Venu >> >> On Tue, Feb 12, 2013 at 9:14 PM, Joel Gerber >> <[email protected]>wrote: >> >> > I should also make mention that in order to re-create the complete RTP >> > flow you'll need to combine the offering and answering SDP information. >> > >> > For example: The IP address and UDP port specified in the offering SDP >> > combined with the IP address and UDP port specified in the answering SDP >> > both form the complete RTP flow for a specific call. If you neglect the >> UDP >> > port information you could potentially be looking at a completely >> different >> > RTP flow than the one intended. >> > >> > Joel Gerber >> > Network Specialist >> > Network Operations >> > Eastlink >> > E: [email protected] T: 519.786.1241 >> > >> > >> > -----Original Message----- >> > From: [email protected] [mailto: >> > [email protected]] On Behalf Of Joel >> Gerber >> > Sent: February-12-13 10:42 AM >> > To: [email protected] >> > Subject: Re: [Sip-implementors] where to retrieve IP adress for RTP flow >> > >> > Hello Ikuzar; >> > >> > You can obtain this from the SDP body from either the offering entity >> > (usually INVITE message), or the answering entity (usually located >> within >> > the 200 OK message.) >> > >> > Notice how I use the words usually, as there are circumstances where the >> > offering and answering SDP information can be located in different >> > messages, or even modified partway through a dialog (phone call.) >> > >> > RFC 6337, 3264 and 4566 can provide a lot more information on this. >> > >> > Joel Gerber >> > Network Specialist >> > Network Operations >> > Eastlink >> > E: [email protected] T: 519.786.1241 >> > >> > -----Original Message----- >> > From: [email protected] [mailto: >> > [email protected]] On Behalf Of ikuzar >> RABE >> > Sent: February-12-13 10:39 AM >> > To: [email protected] >> > Subject: [Sip-implementors] where to retrieve IP adress for RTP flow >> > >> > Hello, >> > >> > * >> > * >> > I'd like to know how can I retrieve IP address for RTP flow from SIP >> > message ? >> > I can obtain IP address in Contact field, but it may be also a domain >> name >> > instead of IP address... >> > >> > Thanks for your help. >> > >> > ikuzar >> > _______________________________________________ >> > Sip-implementors mailing list >> > [email protected] >> > https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors >> > >> > _______________________________________________ >> > Sip-implementors mailing list >> > [email protected] >> > https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors >> > >> > _______________________________________________ >> > Sip-implementors mailing list >> > [email protected] >> > https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors >> > >> >> >> >> -- >> With Regards >> Venu >> 93484 89945 >> [email protected] >> _______________________________________________ >> Sip-implementors mailing list >> [email protected] >> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors >> > > -- With Regards Venu 93484 89945 [email protected] _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
