[SR-Users] dlg_manage() and add_contact_alias() problem

Pavel Miskov miskov.pavel at gmail.com
Thu Dec 6 15:55:41 CET 2012


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 at PUBLIC_IP:50784
 callee_contact:: sip:alice at PUBLIC_IP:64472

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

caller_contact:: sip:bob at 10.2.5.206:10000
callee_contact:: sip:alice at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20121206/93a35878/attachment.htm>


More information about the sr-users mailing list