[SR-Users] statefull proxy Q
Alex Solt
alex_solt at hotmail.com
Wed Oct 31 14:15:09 CET 2012
I appreciate for the response.
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?
Is it after the has_totag() block?
route
{
....
if (has_totag())
{
...
if (loose_route())
{
// check for re-INVITE
}
// check for new INVITE ???
}
Thanks,
AS
> From: abalashov at evaristesys.com
> Date: Wed, 31 Oct 2012 16:57:04 +0400
> To: sr-users at lists.sip-router.org
> Subject: Re: [SR-Users] statefull proxy Q
>
> 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.
>
> 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.
>
> Alex Solt <alex_solt at hotmail.com> wrote:
>
> >
> >Hi,
> >
> >Is there any function in kamailio that could differentiates between a
> >new incoming INVITE message and a re-INVITE message for an existing
> >active call?
> >
> >Thanks,
> >AS
> >
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> >sr-users at lists.sip-router.org
> >http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
> --
> Sent from my mobile, and thus lacking in the refinement one might expect from a fully-fledged keyboard.
>
> Alex Balashov - Principal
> Evariste Systems LLC
> 235 E Ponce de Leon Ave
> Suite 106
> Decatur, GA 30030
> Tel: +1-678-954-0670
> Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20121031/07d972b4/attachment.htm>
More information about the sr-users
mailing list