I expect the semantics of this are wrong. Do you want the UA to display
hello to the user like it had arrived in a MESSAGE message? If so, I
don't think sending a NOTIFY to some dialog that was set up for a
different reason is a good way to do it. 

Cullen

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On Behalf Of 
> Prasanna Venkatesh
> Sent: Wednesday, January 08, 2003 7:26 PM
> To: Baniel Uri-CUB001; [EMAIL PROTECTED]
> Subject: RE: [Sip-implementors] multipart Mime (media) type
> 
> 
> Hi,
> The piggy-backing is implementation dependent, assuming that 
> C can understand "text/plain" mime-type, the message can be
> 
> F7 NOTIFY  A -> C
> 
> NOTIFY sip:[EMAIL PROTECTED] SIP/2.0
> Via: SIP/2.0/UDP A.here.com:5060;branch=z9hG4bK2
> Max-Forwards: 70
> From: BigGuy <sip:[EMAIL PROTECTED]>;tag=31451098
> To: MidGuy <sip:[EMAIL PROTECTED]>;tag=8675309
> Call-ID: [EMAIL PROTECTED]
> CSeq: 1 NOTIFY
> Event: dialog
> Subscription-State: active;expires=1
> Content-Type: multipart/mixed;boundary=12341234
> Content-Length: ...
> 
> --123451234
> Content-Type: application/dialog-info+xml
> Content-Length: ...
> 
> <?xml version="1.0"?>
>    <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info"
>       version="0" state="partial" entity="sip:[EMAIL PROTECTED]">
>    <dialog id="2393lds3204" call-id="[EMAIL PROTECTED]"
>       local-tag="3145678" remote-tag="1234567" direction="recipient"
>       remote-uri="[EMAIL PROTECTED]">
>    <state event="2xx">confirmed</state>
>    </dialog>
>    </dialog-info>
> 
> --123451234
> Content-Type: text/plain
> Content-Length: 7
> 
> Hello
> 
> --123451234
> 
> Cheers,
> Prasanna
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of 
> Baniel Uri-CUB001
> Sent: Wednesday, January 08, 2003 9:22 PM
> To: [EMAIL PROTECTED]
> Subject: [Sip-implementors] multipart Mime (media) type
> 
> 
> Say A needs/wants to notify C about an active session, and as 
> a piggy back like also to send some additional text. Is a 
> multipart Mime (media) type the way to go (say the length can 
> vary from one word to few sentences)? If yes, can someone 
> please show me how to add the text "hello" to the following 
> Notify request?
> 
> F7 NOTIFY  A -> C
> 
> NOTIFY sip:[EMAIL PROTECTED] SIP/2.0
> Via: SIP/2.0/UDP A.here.com:5060;branch=z9hG4bK2
> Max-Forwards: 70
> From: BigGuy <sip:[EMAIL PROTECTED]>;tag=31451098
> To: MidGuy <sip:[EMAIL PROTECTED]>;tag=8675309
> Call-ID: [EMAIL PROTECTED]
> CSeq: 1 NOTIFY
> Event: dialog
> Subscription-State: active;expires=1
> Content-Type: application/dialog-info+xml
> Content-Length: ...
> 
> <?xml version="1.0"?>
>    <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info"
>       version="0" state="partial" entity="sip:[EMAIL PROTECTED]">
>    <dialog id="2393lds3204" call-id="[EMAIL PROTECTED]"
>       local-tag="3145678" remote-tag="1234567" direction="recipient"
>       remote-uri="[EMAIL PROTECTED]">
>    <state event="2xx">confirmed</state>
>    </dialog>
>    </dialog-info>
> 
> Thx!
> 
> Uri
> 
> ==============================================================
> =========
> Uri Baniel - Distinguished Member of Technical Staff - Motorola
> Tel: (847) 632 4616; Fax: (847) 632 3963;
> "Learning that does not daily increase will daily decrease. - 
> EWC 
> ==============================================================
> =========
> 
> 
> _______________________________________________
> Sip-implementors mailing list
> [EMAIL PROTECTED] 
> http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors


_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to