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?