Hi all,

I want to end dialog (Kamailio sends BYE to both parties) that is lasting longer then some defined time. everything is working fine when using old fix_nated_contact function, but when using new add_contact_alias function kamailio sends BYE to private addresses. 

1. "kamctl fifo dlg_list" output when using fix_nated_contact():

 caller_contact:: sip:bob@PUBLIC_IP:50784
 callee_contact:: sip:alice@PUBLIC_IP:64472

2. "kamctl fifo dlg_list" output when using add_contact_alias():

caller_contact:: sip:bob@10.2.5.206:10000
callee_contact:: sip:alice@10.2.5.205:20000


dlg_manag() doesn't store contact alias for caller and callee so Kamailio is sending BYE to private addresses. Am I doing something wrong or I can't use possibility of ending dialog with contact aliases?

Thank you 

Pavel