Am 24.08.2011 15:19, schrieb Jason Penton:
So for an invite from UA1 to UA2 the INVITE will
appear twice at the
same PCSCF (assuming there is only one PCSCF in this case). This will
result in spiraling on Kamailio right now, BUT there is no way to
distinguish between the 'originating' dialog and the 'terminating'
dialog. why is this a problem? well it would be nice to know in the
config file in which mode you are in. I am sure there will be non ims
related scenarios but I can think of any ;)
For transactions you can find out the direction by using fromtag cookie
(ftag) in RR header and the is_direction() function.
I guess if you want such a feature to extend the dialog capabilities, it
can be done in a similar way (record-route cookies)
regards
Klaus