<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
I appreciate for the response.<br><br>I am using an old kamailio app. The has_totag() and loos_route() blocks are within the route() block. The question is where is the right place to check the new INVITE?<br>Is it after the has_totag() block?<br><br><br>route <br>{<br>....<br> <br>if (has_totag())<br>{<br>...<br> if (loose_route())<br> {<br> // check for re-INVITE<br><br> }<br><br> <font style="" color="#FF0000">// check for new INVITE ??</font>? <br> <br>} <br><br><br>Thanks,<br>AS<br><br><br><br><div><div id="SkyDrivePlaceholder"></div>> From: abalashov@evaristesys.com<br>> Date: Wed, 31 Oct 2012 16:57:04 +0400<br>> To: sr-users@lists.sip-router.org<br>> Subject: Re: [SR-Users] statefull proxy Q<br>> <br>> Yes. The reinvite is a sequential (in-dialog) request and, like all sequential requests, is handles in a different place in the route script than initial requests. <br>> <br>> Sequential requests are processed in the loose_route() section of the main request route. Initial requests (such as initial INVITEs) are dealt with further down. <br>> <br>> Alex Solt <alex_solt@hotmail.com> wrote:<br>> <br>> ><br>> >Hi,<br>> ><br>> >Is there any function in kamailio that could differentiates between a<br>> >new incoming INVITE message and a re-INVITE message for an existing<br>> >active call?<br>> ><br>> >Thanks,<br>> >AS<br>> >                                            <br>> ><br>> >------------------------------------------------------------------------<br>> ><br>> >_______________________________________________<br>> >SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>> >sr-users@lists.sip-router.org<br>> >http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users<br>> <br>> -- <br>> Sent from my mobile, and thus lacking in the refinement one might expect from a fully-fledged keyboard. <br>> <br>> Alex Balashov - Principal <br>> Evariste Systems LLC <br>> 235 E Ponce de Leon Ave <br>> Suite 106 <br>> Decatur, GA 30030 <br>> Tel: +1-678-954-0670<br>> Web: http://www.evaristesys.com/, http://www.alexbalashov.com/<br>> <br>> _______________________________________________<br>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>> sr-users@lists.sip-router.org<br>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users<br></div>                                            </div></body>
</html>