[SIPForum-discussion] recvonly in sdp

Kashif Husain kashifhusain29 at gmail.com
Wed Sep 12 06:52:59 UTC 2012


Port 0 simply means rejecting media stream. I think this is not what you
want to achieve here. Please go through rfc3264 for more understanding.
IMHO, you shouldn't be doing port 0 in this scenario.

Thanks,
-kashif

*"All you need is ignorance and confidence and success is sure."*
-Mark Twain


On Sat, Sep 8, 2012 at 10:27 PM, Prem chandiran <toprem.m at gmail.com> wrote:

> Hi all,
> for putting a caller in call hold we are sending the following sdp.
>
> v=0
> o=46727870367 1338208426 1338208966 IN IP4 10.47.16.5
> s=SCM
> c=IN IP4 0.0.0.0
> t=0 0
> m=audio 37384RTP/AVP 0
> a=ptime:20
> a=rtpmap:0 pcmu/8000
> a=recvonly
>
> my question is when we send a=recvonly at that time do we need to mention
> port in m attribute as mentioned in the above example or we have to give
> port as 0 in m attribute?. i checked rfc 4566 in section 5. SDP
> Specification i am able to find an example which is similar to the above
> sdp. but still i am raising this concern since i am unable to find any line
> in the rfc 4566 specifying while sending recvonly sdp must have m attribute
> port as 0 or any valid port number.  if any rfc is there plz mention the
> same . I kindly request you all to help in this.
>
> Thanks,
> Prem
>
> _______________________________________________
> This is the SIP Forum discussion mailing list
> TO UNSUBSCRIBE, or edit your delivery options, please visit
> http://sipforum.org/mailman/listinfo/discussion
> Post to the list at discussion at sipforum.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20120912/0a401075/attachment-0002.html>


More information about the discussion mailing list