If your UAC only bind to the RTP ports when you receive a 183 or 200 (in
other words, when the dialog's created) you run the risk of another process
taking those ports. In other words, in your INVITE you state you'll be using
port 8000. Before you receive the 200 OK something else on your machine
binds to port 8000. Now what do you do? The remote end still thinks you'll
be using port 8000.

It seems to me that you need to reserve those ports you want to use BEFORE
you send the INVITE. Similarly, the UAS must reserve those ports it wishes
to use BEFORE it sends its SDP (whether in a 200 or 180/183/whatever).

frank

----- Original Message ----- 
From: "Siddhardha Garige" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[email protected]>
Sent: Thursday, May 25, 2006 4:47 PM
Subject: Re: [Sip-implementors] Query on when to open RTP ports
duringoffer/answer


> Sayan,
>  Dont you have to wait for a response 183 or 200 OK before you open your
RTP ports?
>
> Siddhardah
>
>
> [EMAIL PROTECTED] wrote:
>
> Hello All ,
> Once I send an offer in in INVITE I am supposed to be ready to listen to
> media.
> However If I start getting media packets before getting the answer , I
> do not know for sure whether the called
> Party is playing me the media or somebody else is playing me the media.
> What do I do in this case ? Should I be rejecting the media packets till
> I get an answer ?
>
> Also if the called party plays the media from a different IP address
> from the one which he provides in the the SDP (for receiving media)how
> can I be sure it's not some kind of attack on my UA ?
> Regards ,
> Sayan
>
>
> The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s) and
may contain proprietary, confidential or privileged information. If you are
not the intended recipient, you should not disseminate, distribute or copy
this e-mail. Please notify the sender immediately and destroy all copies of
this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus transmitted
by this email.
>
> www.wipro.com
>
> _______________________________________________
> Sip-implementors mailing list
> [email protected]
> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
>
>
>
> *******************************************************
> Siddhardha N. Garige
> Tampa, FL.
> Ph: (813)-298-4236.
>
> www.pbase.com/garige
>
> *******************************************************
>
> ---------------------------------
> Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great
rates starting at 1&cent;/min.
> _______________________________________________
> 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

Reply via email to