[SR-Users] statefull proxy Q
Olle E. Johansson
oej at edvina.net
Wed Oct 31 14:19:08 CET 2012
31 okt 2012 kl. 14:15 skrev Alex Solt <alex_solt at hotmail.com>:
> 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 ???
>
> }
A new invite would not have a totag, so you have to check AFTER the block that checks the existence of the to-tag.
Please check the sample configuration you got with Kamailio to learn more!
Regards,
/Olle
--
* Olle E. Johansson - oej at edvina.net
* Kamailio & SIP Masterclass Miami FL December 2012
* http://edvina.net/training/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20121031/ff5515c4/attachment.htm>
More information about the sr-users
mailing list