Hi,
Swapping the From and To URIs headers when sending an in-dialog request (such as a BYE)
from callee to caller is not a but, but the protocol-compliant way to do things. :-)
Lots of possibilities for saving original values if so desired. Dialog variables
($dlg_var(...)) are probably the easiest. I prefer to persist this stuff in the database
by writing an initial CDR row on the initial invite and only updating it thereafter.
-- Alex
On Aug 22, 2017, at 4:30 PM, yu(a)yu-boot.ru wrote:
Have a problem with Asterisk. When callee behind Asterisk hangs up first, it sends back
BYE with swapped From and To fields, which affects Kami CDRs rendering them useless.
I've tried to save original From/To to AVPs on initial INVITE but they are empty when
CDR is written. How to solve this?
--
Отправлено из myMail для Android
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users