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 "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
</div>
<div><br> Address fromAddress = addressFactory.createAddress(sipURI);<br> fromAddress.setDisplayName("sipPhone"); <br> fromHeader = headerFactory.createFromHeader(fromAddress, "1234" /*tag*/);
<br> </div>
<div>Is this not correct usage to set display name?</div>
<div> </div>
<div>Thanks</div>
<div>Venkat<br> </div>
<div><span class="gmail_quote">On 9/21/07, <b class="gmail_sendername">M. (Neo-Ranga) Ranganathan</b> <<a href="mailto:[email protected]">[email protected]</a>> 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 <<a href="mailto:[email protected]">[email protected]</a>> wrote:<br>> Hi<br>><br>> I am trying to explore the nist implementation of jain-sip. I am trying to
<br>> add multipart message body but could not find right methods to insert<br>> multipart message body in a sip message (say INVITE). I appreciate your<br>> help.<br>><br>> Thanks<br>> Venkat<br>><br>
> example:<br>><br>> Content-Type:multipart/mixed;bounadry=separator<br>> --separator<br>> Content-Type:application/sdp<br>> .....<br>> --separator<br>> Content-Type:application/x-My-App<br>> Content-Dispostion:signal;handling=required
<br>> .....<br>> --separator<br>><br>><br>><br>> _______________________________________________<br>> nist-sip mailing list<br>> <a href="mailto:[email protected]">[email protected]</a><br>
> <a href="http://www-x.antd.nist.gov/mailman/listinfo/nist-sip">http://www-x.antd.nist.gov/mailman/listinfo/nist-sip</a><br>><br>><br><br><br>--<br>M. Ranganathan<br>"There are two ways to write error-free programs; only the third one
<br>works." -- 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==--