On Tue, May 5, 2009 at 11:43 AM, Gang Liu <gangban.lau at gmail.com> wrote: > hi benny, > below SIP flow will crash pjsip-ua api. > > UAC --> INVITE --> UAS # UAC support 100rel and UAS required > <-- 100 <-- > <-- 180 <-- # require 100rel > --> CANCEL --> > > <-- 200 <-- > > <-- 487 <-- > --> PRACK --> > <-- 500 <-- > > --> ACK --> > # crash here because inv tsx was destroyed but 100rel retransmit timer > still there > > It is better to use pjsip_100rel_tx_response() to send out 487 other than > pjsip_dlg_send_response() at inv_respond_incoming_cancel(). > > You're absolutely right! I just fixed this in http://trac.pjsip.org/repos/ticket/845 thanks Benny > regards, > Gang > > > _______________________________________________ > 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090513/0d1e1729/attachment.html>