Re: Using nist sip stack

"Venkata Ramana Kunapuli" <[email protected]> Wed, 26 Sep 2007 13:18:04 -0400
Newsgroups gmane.comp.voip.nist-sip
Message-ID <[email protected]>
--===============7308898816162177530==
Content-Type: multipart/alternative; 
	boundary="----=_Part_7272_32570934.1190827085282"

------=_Part_7272_32570934.1190827085282
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Thanks Ranga for the info.. I had another issue I am trying to add display
name in "From" and "To" headers. I tried the following but not successful. I
mean "from" header being constructed, but I do not see display name being
added anywhere

            Address fromAddress =  addressFactory.createAddress(sipURI);
            fromAddress.setDisplayName("sipPhone");
            fromHeader = headerFactory.createFromHeader(fromAddress, "1234"
/*tag*/);

Is this not correct usage to set display name?

Thanks
Venkat

On 9/21/07, M. (Neo-Ranga) Ranganathan <[email protected]> wrote:
>
> There is no explicit support for multipart mime. You have to construct
> the body by yourself and add it.
>
> Regards,
>
> Ranga.
>
> On 9/21/07, Venkata Ramana Kunapuli <[email protected]> wrote:
> > Hi
> >
> > I am trying to explore the nist implementation of jain-sip. I am trying
> to
> > add multipart message body but could not find right methods to insert
> > multipart message body in a sip message (say INVITE). I appreciate your
> > help.
> >
> > Thanks
> > Venkat
> >
> > example:
> >
> > Content-Type:multipart/mixed;bounadry=separator
> > --separator
> > Content-Type:application/sdp
> > .....
> > --separator
> > Content-Type:application/x-My-App
> > Content-Dispostion:signal;handling=required
> > .....
> > --separator
> >
> >
> >
> > _______________________________________________
> > nist-sip mailing list
> > [email protected]
> > http://www-x.antd.nist.gov/mailman/listinfo/nist-sip
> >
> >
>
>
> --
> M. Ranganathan
> "There are two ways to write error-free programs; only the third one
> works." --  Alan Perlis
> http://www.animenewsnetwork.com/encyclopedia/anime.php?id=1052
>

------=_Part_7272_32570934.1190827085282
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div>Thanks Ranga for the info.. I had another issue I am trying to add display name in &quot;From&quot; and &quot;To&quot; headers. I tried the following but not successful.&nbsp;I mean &quot;from&quot; header being constructed, but I do not see display name being added anywhere
</div>
<div><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Address fromAddress =&nbsp;&nbsp;addressFactory.createAddress(sipURI);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fromAddress.setDisplayName(&quot;sipPhone&quot;);&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fromHeader = headerFactory.createFromHeader(fromAddress, &quot;1234&quot; /*tag*/);
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
<div>Is this not correct usage to set display name?</div>
<div>&nbsp;</div>
<div>Thanks</div>
<div>Venkat<br>&nbsp;</div>
<div><span class="gmail_quote">On 9/21/07, <b class="gmail_sendername">M. (Neo-Ranga) Ranganathan</b> &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">There is no explicit support for multipart mime. You have to construct<br>the body by yourself and add it.
<br><br>Regards,<br><br>Ranga.<br><br>On 9/21/07, Venkata Ramana Kunapuli &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote:<br>&gt; Hi<br>&gt;<br>&gt; I am trying to explore the nist implementation of jain-sip. I am trying to
<br>&gt; add multipart message body but could not find right methods to insert<br>&gt; multipart message body in a sip message (say INVITE). I appreciate your<br>&gt; help.<br>&gt;<br>&gt; Thanks<br>&gt; Venkat<br>&gt;<br>
&gt; example:<br>&gt;<br>&gt; Content-Type:multipart/mixed;bounadry=separator<br>&gt; --separator<br>&gt; Content-Type:application/sdp<br>&gt; .....<br>&gt; --separator<br>&gt; Content-Type:application/x-My-App<br>&gt; Content-Dispostion:signal;handling=required
<br>&gt; .....<br>&gt; --separator<br>&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; nist-sip mailing list<br>&gt; <a href="mailto:[email protected]">[email protected]</a><br>
&gt; <a href="http://www-x.antd.nist.gov/mailman/listinfo/nist-sip">http://www-x.antd.nist.gov/mailman/listinfo/nist-sip</a><br>&gt;<br>&gt;<br><br><br>--<br>M. Ranganathan<br>&quot;There are two ways to write error-free programs; only the third one
<br>works.&quot; --&nbsp;&nbsp;Alan Perlis<br><a href="http://www.animenewsnetwork.com/encyclopedia/anime.php?id=1052">http://www.animenewsnetwork.com/encyclopedia/anime.php?id=1052</a><br></blockquote></div><br>

------=_Part_7272_32570934.1190827085282--

--===============7308898816162177530==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
nist-sip mailing list
[email protected]
http://www-x.antd.nist.gov/mailman/listinfo/nist-sip

--===============7308898816162177530==--