When you call, we use dlg_manage (); function to authorize the ISP with the 
following settings dialog module
loadmodule "dialog.so"
modparam ( "dialog", "enable_stats", 0)
modparam ( "dialog", "db_url", DBURL)
modparam ( "dialog", "db_mode", 1)
modparam ( "dialog", "table_name", "dialog")
modparam ( "dialog", "dlg_match_mode", 1)
modparam ( "dialog", "dlg_flag", 4)
modparam ( "dialog", "track_cseq_updates", 1)
When sending a request ISP CANCEL get answers to 200 and 487, but instead of 
ACK otpralyaem COI new CANCEL.

   10.1.244.235:5060            176.99.138.244:5060│
  ──────────┬─────────          ──────────┬─────────
            │                             │        
            │                             │        
            │                             │        
            │                             │        
            │        INVITE (SDP)         │       
            │ ──────────────────────────> │ 
            │      401 Unauthorized       │         
            │ <────────────────────────── │         
            │             ACK             │         
            │ ──────────────────────────> │        
            │        INVITE (SDP)         │        
            │ ──────────────────────────> │         
            │         100 Trying          │         
            │ <────────────────────────── │         
            │         180 Ringing         │         
            │ <────────────────────────── │                
            │           CANCEL            │        
            │ ──────────────────────────> │         
            │   487 Request Terminated    │         
            │ <────────────────────────── │         
            │           200 OK            │        
            │ <────────────────────────── │         
            │           CANCEL            │         
            │ ──────────────────────────> │         
            │      500 Server error       │         
            │ <────────────────────────── │         
            │   487 Request Terminated    │         
            │ <────────────────────────── │         
            │   487 Request Terminated    │         
            │ <<<──────────────────────── │         
            │   487 Request Terminated    │         
            │ <<<──────────────────────── │    
how to remove the second CANCEL?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/870
_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to