<html><body>
<p>Hi,<br>
<br>
I think even &quot;BYE&quot; can be a problem, because it can fail (non 2xx), and then the next BYE has a bumped CSeq. Most common example is authentication. The first BYE will fail due to stale credentials, and then the next one must have larger CSeq.<br>
<br>
Kennard<br>
<br>
<img width="16" height="16" src="cid:1__=07BBFD0CDFC008468f9e8a93df9@logitech.com" border="0" alt="Inactive hide details for Bogdan-Andrei Iancu ---09/15/2010 05:37:12 AM---Hi Alex, As Ovidiu pointed out, this is not an easy o"><font color="#424282">Bogdan-Andrei Iancu ---09/15/2010 05:37:12 AM---Hi Alex, As Ovidiu pointed out, this is not an easy one - if you generate a</font><br>
<br>
<font size="2" color="#5F5F5F">From:        </font><font size="2">Bogdan-Andrei Iancu &lt;bogdan@voice-system.ro&gt;</font><br>
<font size="2" color="#5F5F5F">To:        </font><font size="2">OpenSIPS devel mailling list &lt;devel@lists.opensips.org&gt;</font><br>
<font size="2" color="#5F5F5F">Date:        </font><font size="2">09/15/2010 05:37 AM</font><br>
<font size="2" color="#5F5F5F">Subject:        </font><font size="2">Re: [OpenSIPS-Devel] Sending INFO from MI</font><br>
<font size="2" color="#5F5F5F">Sent by:        </font><font size="2">devel-bounces@lists.opensips.org</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<tt>Hi Alex,<br>
<br>
As Ovidiu pointed out, this is not an easy one - if you generate a <br>
in-dialog request from the proxy, you will de-sync the cseq numbers <br>
between the 2 end-parties....So any change from the mid-proxy will imply <br>
the proxy to &quot;fix&quot; all the following cseq numbers in the following <br>
in-dialog requests (from the end parties).<br>
<br>
With the BYE this is not a problem as after BYE there is not other <br>
&quot;following in-dialog requests&quot; ;)<br>
<br>
Regards,<br>
Bogdan<br>
<br>
Alex Massover wrote:<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; I need to pass events generated by the external application during the <br>
&gt; call. I'm thinking about to implement this with INFO.<br>
&gt;<br>
&gt; The idea is to add sending INFO functionality to the dialog module. In <br>
&gt; analogy with 'dlg_end_dlg' MI function exported by dialog module, I <br>
&gt; want to add 'dlg_send_info' function. That will receive 2 parameters:<br>
&gt;<br>
&gt; a) Direction (caller, callee, both) – to what side to send INFO<br>
&gt;<br>
&gt; b) Headers to add to INFO<br>
&gt;<br>
&gt; and eventually generate INFO request.<br>
&gt;<br>
&gt; What I'm trying to understand is how complex is to add such <br>
&gt; functionality. Is the dialog module ready for such extension (I'll <br>
&gt; look at how 'dlg_end_dlg' is implemented and do similar) or it will <br>
&gt; require more advanced understanding and major changes to the module <br>
&gt; design?<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt; Best Regards,<br>
&gt;<br>
&gt; Alex Massover<br>
&gt;<br>
&gt; Telephony Group Manager<br>
&gt;<br>
&gt; R&amp;D Department<br>
&gt;<br>
&gt; Jajah Inc.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; This mail was sent via Mail-SeCure System.<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Devel mailing list<br>
&gt; Devel@lists.opensips.org<br>
&gt; </tt><tt><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a></tt><tt><br>
&gt; &nbsp; <br>
<br>
<br>
-- <br>
Bogdan-Andrei Iancu<br>
OpenSIPS Bootcamp<br>
20 - 24 September 2010, Frankfurt, Germany<br>
</tt><tt>www.voice-system.ro</tt><tt><br>
<br>
<br>
_______________________________________________<br>
Devel mailing list<br>
Devel@lists.opensips.org<br>
</tt><tt><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a></tt><tt><br>
</tt><br>
</body></html>