Hi Ramya,
Many Thanks for the reply. The scenario iam trying is to place a user on hold first from my application. For this is it right the way messages were flowing as i mentioned in the previous mail. Thanks & Regards Rajeswari.R -----Original Message----- From: Ramya Jothi [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 07, 2008 10:25 AM To: Routhu, Rajeswari (Cognizant); [email protected] Subject: RE: [Sip-implementors] REG: call hold Hi Rajeswari First the call needs to be established Only then u can put it on hold INVITE a = sendrecv A -----------> B 200OK a = sendrecv A <------------ B ACK A ------------> B The above will establish the call Now send an Re-INVITE or UPDATE Re-INVITE a = sendonly A ------------> B 200OK a = recvonly A <----------- B ACK A -----------> B U can also use inactive Pls refer RFC 3264 -Regards Ramya -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, May 07, 2008 10:10 AM To: [email protected] Subject: [Sip-implementors] REG: call hold Hi all, I want to connect to a useragent i.e, put him on hold from my application. The useragent is not on any call initially .For this iam creating an invite request and sending it to the useragent as below: INVITE sip:[EMAIL PROTECTED]:12000 SIP/2.0 From: <sip:[EMAIL PROTECTED]>;tag=42215289471803874_local.1210132738140_10 _10 To: <sip:[EMAIL PROTECTED]> Call-ID: [EMAIL PROTECTED] Max-Forwards: 70 CSeq: 2 INVITE Content-Type: application/sdp Content-Length: 159 v=0 o=user 0 0 IN IP4 10.238.115.216 s=- c=IN IP4 0.0.0.0 t=0 0 m=audio 10000 RTP/AVP 0 101 a=rtpmap:0 pcmu/8000/1 a=rtpmap:101 telephone-event/8000/1 For this the useragent is sending response as: SIP/2.0 200 OK Content-Length: 243 User-Agent: X-Lite release 1002tx stamp 29712 Content-Type: application/sdp Allow: INVITE Allow: ACK Allow: CANCEL Allow: OPTIONS Allow: BYE Allow: REFER Allow: NOTIFY Allow: MESSAGE Allow: SUBSCRIBE Allow: INFO CSeq: 2 INVITE Call-ID: [EMAIL PROTECTED] From: <sip:[EMAIL PROTECTED]>;tag=42215289471803874_local.1210132738140_10 _10 To: <sip:[EMAIL PROTECTED]>;tag=3861b74f Contact: <sip:[EMAIL PROTECTED]:12000> Via: SIP/2.0/UDP 10.238.115.216:5060;branch=z9hG4bK870573921493445;ibmsid=local.121013273 8140_10_10 v=0 o=- 1 2 IN IP4 10.238.115.216 s=<CounterPath eyeBeam 1.5> c=IN IP4 10.238.115.216 t=0 0 m=audio 12002 RTP/AVP 0 101 a=fmtp:101 0-15 a=rtpmap:101 telephone-event/8000 a=sendrecv a=x-rtp-session-id:CEAECAD8CCB04812A04FE6D267EEB9A0 Iam creating the ACK for the response and sending it back and call got established with the server and the useragent. Now is it the right procedure to put a useragent on hold. If not please suggest me the correct procedure, Thanks & Regards Rajeswari.R This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
