<div dir="ltr"><blockquote class="gmail_quote" style="font-size:small;text-decoration-style:initial;text-decoration-color:initial;margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">an in-dialog OPTIONS is not normal, it should be not required for the normal<span> </span></span><br style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">call-flow.<span> </span></span><br></blockquote><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial">i'v seen many in-dialog OPTIONS for checking is dialog alive, but only after INVITE-OK-ACK handshake.   </div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 17 August 2018 at 14:10, Phillman25 Kyriacou <span dir="ltr"><<a href="mailto:phillman25@gmail.com" target="_blank">phillman25@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thank you so much for your prompt reply and explanation Henning!<div><br></div><div>Yes the calls are not affected so ill just ignore these messages.</div><div><br></div><div>Thanks again!</div><div>Phillip</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 17, 2018 at 1:57 PM, Henning Westerholt <span dir="ltr"><<a href="mailto:hw@kamailio.org" target="_blank">hw@kamailio.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>Am Freitag, 17. August 2018, 12:45:15 CEST schrieb Phillman25 Kyriacou:<br>
> CRITICAL: dialog [dlg_hash.c:955]: log_next_state_dlg(): bogus event 8 in<br>
> state 1 for dlg 0x7f59862cd440 [3685:10496]<br>
> <br>
> I understand that state 1 indicates an unconfirmed dialog, can anyone tell<br>
> me what bogus event 8 is?<br>
> <br>
> The following is the call flow:<br>
> User A ===> Kamailio ==> Provider<br>
> From the PCAP trace an INVITE is sent to the provider,  the provider<br>
> answers with 100 Trying, 180 Ringing and immediately an OPTIONS message<br>
> with the same call id<br>
> <br>
> <br>
> Kamailio                                      Provider<br>
>                          INVITE<br>
>               =================><br>
>                           100 Trying<br>
>               <=================<br>
>                         180 Ringing<br>
>               <================<br>
>                         OPTIONS<br>
>               <================<br>
> <br>
> Im assuming  bogus event 8 is the OPTIONS message? Is an OPTIONS message<br>
> normal in this case?<br>
<br>
</span>Hello Phillip,<br>
<br>
an in-dialog OPTIONS is not normal, it should be not required for the normal <br>
call-flow. I think the OPTIONS is indeed the event 8 here.<br>
<br>
You find the event definitions in dlg_hash.h in the dialog module:<br>
<br>
/* events for dialog processing */<br>
#define DLG_EVENT_TDEL         1 /*!< transaction was destroyed */<br>
#define DLG_EVENT_RPL1xx       2 /*!< 1xx request */<br>
#define DLG_EVENT_RPL2xx       3 /*!< 2xx request */<br>
#define DLG_EVENT_RPL3xx       4 /*!< 3xx request */<br>
#define DLG_EVENT_REQPRACK     5 /*!< PRACK request */<br>
#define DLG_EVENT_REQACK       6 /*!< ACK request */  <br>
#define DLG_EVENT_REQBYE       7 /*!< BYE request */  <br>
#define DLG_EVENT_REQ          8 /*!< other requests */<br>
<br>
You should ask the provider why they send you this OPTIONS here. But if your <br>
calls are not affected (which I assume) you could also ignore it.<br>
<br>
Best regards,<br>
<br>
Henning<br>
<span class="m_-2881381828542712681HOEnZb"><font color="#888888"><br>
-- <br>
Henning Westerholt<br>
<a href="https://skalatan.de/blog/" rel="noreferrer" target="_blank">https://skalatan.de/blog/</a><br>
</font></span></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Savolainen Dmitri</div></div></div></div></div>
</div>