pjsua_im_send compatibility with RFC 3428

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

 



Hi Anil,

We just fixed this in #1632
(https://trac.pjsip.org/repos/ticket/1632). Thanks for the report.

Best regards,
Ming

On Mon, Mar 4, 2013 at 2:55 PM, Anil Giri <work.anilgiri at gmail.com> wrote:
> [Reposting: Had previously posted in wrong thread.]
>
> Hi All,
>
> I have a query regarding MESSAGE implementation in PJSIP.
>
> RFC-3428 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 at 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 at 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
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>



[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