<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Bobby,<br>
<br>
If you want to match the transaction (and dialog) you should
explicitly arm an "onreply_route" for the initial INVITE:<br>
<br>
<tt>route {<br>
</tt>
<blockquote><tt>...<br>
# here gets the initial INVITE<br>
create_dialog();<br>
t_on_reply("2"); # arm the onreply_route[2]<br>
...<br>
</tt></blockquote>
<tt>}<br>
<br>
# fires when a reply is received for the initial INVITE<br>
onreply_route[2] {<br>
</tt>
<blockquote>
<div><tt>$dlg_val(cisco) = "true";</tt></div>
<div><tt>set_dlg_flag("3");</tt></div>
<div><tt>...</tt></div>
</blockquote>
<tt>}</tt><br>
<br>
Please let us know if you find any problems.<br>
<br>
Regards,
<pre class="moz-signature" cols="72">Razvan Crainea
OpenSIPS Developer</pre>
</body>
</html>