Hello,

can you dump the dialog attributes (via mi/kamctl or from database) for the two cases? Just to see what is stored different there.

Cheers,
Daniel

On 12/6/12 3:55 PM, Pavel Miskov wrote:
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


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda