pjsua_im_send compatibility with RFC 3428

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[Reposting: Had previously posted in wrong thread.]

Hi All,

I have a query regarding MESSAGE implementation in PJSIP.

RFC-3428 <http://tools.ietf.org/html/rfc3428#section-4> mentions that:

 "*MESSAGE requests do not initiate dialogs. User Agents MUST NOT **insert
Contact header fields into MESSAGE requests.".*


But the *pjsua_im_send* method generates a SIP MESSAGE message that
includes a Contact header, (shown underlined in the message log
below).


Is this a known issue in PJSIP 1.14.2.


Thanks and regards,

Anil.


___________________________

*MESSAGE sip:anil1@**x.x.x.x** SIP/2.0*

*Via: SIP/2.0/UDP **x.x.x.x**
:5060;rport;branch=z9hG4bKPjWBb5i2TOulKTMPruedu4iTZSoImGZuu4*

*Max-Forwards: 70*

*From: <sip:anil2@**x.x.x.x**>;tag=xbdSc9Nns8u0j1N6Q2C8dHfrrPJofXFF*

*To: <sip:anil1@**x.x.x.x**>*

*Call-ID: j4onStVg3vzr67ycwKDVuGzGQKgOyD6x*

*CSeq: 48532 MESSAGE*

*Accept: text/plain, application/im-iscomposing+xml*

*Contact: <sip:anil2 at x.x.x.x:5060;ob>*

*User-Agent: PJSUA v1.14.2 Darwin-12.2/x86_64*

*Content-Type: text/plain*

*Content-Length:     2*

**

*Hi*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130304/ec7a12f2/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux