dsm/mod_dlg has this kind of bye function: dlg.bye([headers]) send BYE. useful for example for continuing processing after call has ended. * sets $errno (general)
dlg.bye gets mapped to AmSipDialog::bye function, in case status of the dialog is Trying, Proceeding, or Early, CANCEL request is sent instead of BYE: case Trying: case Proceeding: case Early: if(getUACInvTransPending()) return cancel(); unfortunately, cancel() has no hdrs argument and thus dlg.bye(headers) headers are not included in the CANCEL request. would it be OK, if i add another AmSipDialog::cancel function that has hdrs argument and which uses that instead of t->second.hdrs? -- juha _______________________________________________ Semsdev mailing list Semsdev@lists.iptel.org http://lists.iptel.org/mailman/listinfo/semsdev