From igorolhovskiy@gmail.com Mon Jun 10 13:35:46 2019 From: Igor Olhovskiy To: sr-users@lists.kamailio.org Subject: [SR-Users] dialog:end event route Date: Mon, 10 Jun 2019 14:35:41 +0300 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1127752137==" --===============1127752137== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi! Just to confirm, is event route [dialog:end] not called on fr_inv_timer expir= y? Cause it's called on call busy (486) and reject (whatever 6xx). So, what's th= e idea of not calling it on timeout? Or I'm missing something? Kamailio 5.2 Thanks! Regards, Igor. --===============1127752137== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGRpdj5IaSE8L2Rpdj48YnI+PGRpdj5KdXN0IHRvIGNvbmZpcm0sIGlzIGV2ZW50IHJvdXRlIFtk aWFsb2c8c3BhbiBkYXRhLWVtb2ppLXR5cGluZz0idHJ1ZSI+OmVuZF08L3NwYW4+IG5vdCBjYWxs ZWQgb24gZnJfaW52X3RpbWVyIGV4cGlyeT88L2Rpdj48ZGl2PkNhdXNlIGl0J3MgY2FsbGVkIG9u IGNhbGwgYnVzeSAoNDg2KSBhbmQgcmVqZWN0ICh3aGF0ZXZlciA2eHgpLiBTbywgd2hhdCdzIHRo ZSBpZGVhIG9mIG5vdCBjYWxsaW5nIGl0IG9uIHRpbWVvdXQ/IE9yIEknbSBtaXNzaW5nIHNvbWV0 aGluZz88L2Rpdj48YnI+PGRpdj5LYW1haWxpbyA1LjI8L2Rpdj48YnI+PGRpdj5UaGFua3MhPC9k aXY+PGRpdj5SZWdhcmRzLCBJZ29yLjwvZGl2Pg== --===============1127752137==-- From miconda@gmail.com Tue Jun 11 12:23:14 2019 From: Daniel-Constantin Mierla To: sr-users@lists.kamailio.org Subject: Re: [SR-Users] dialog:end event route Date: Tue, 11 Jun 2019 12:23:05 +0200 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0539194738==" --===============0539194738== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Hello, On 10.06.19 13:35, Igor Olhovskiy wrote: > Hi! > > Just to confirm, is event route [dialog:end] not called on > fr_inv_timer expiry? > Cause it's called on call busy (486) and reject (whatever 6xx). So, > what's the idea of not calling it on timeout? Or I'm missing something? > > Kamailio 5.2 if the INVITE does not get 200ok, then another event route is executed:   - https://www.kamailio.org/docs/modules/stable/modules/dialog.html#idm1039307844 Cheers, Daniel -- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda --===============0539194738==-- From igorolhovskiy@gmail.com Wed Jun 12 10:57:32 2019 From: Igor Olhovskiy To: sr-users@lists.kamailio.org Subject: Re: [SR-Users] dialog:end event route Date: Wed, 12 Jun 2019 11:57:15 +0300 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1956185381==" --===============1956185381== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Yes, sorry, `dialog:failed` exactly. Issue I found is quite strange. Schema of testing is A calling B through Kamailio. B is not answering, jut keep sending 180. On dialog:failed I have this code: event_route[dialog:failed] { xlog("L_ALERT", '[DIALOG:FAILED] "req":"$rm", "cs":"$cs", "dst":"$du", "from"= :"$fU", "to":"$tU", "cid":"$ci", "si":"$si", "sp":"$sp", "kts":$TV(Sn)' + "\n= "); } Quite simple. But when actual dialog failed on fr_inv_timer excite, in logs I= have ALERT: