<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><br></div>Hi folks,<br><br></div>i have a problem with call_control module. I get a following log from kamailio<br><br>kamailio[15066]: WARNING: call_control [call_control.c:1159]: postprocess_request(): dialog to trace controlled call was not created. discarding callcontrol.<br>
<br></div>and following log from call_control python application<br><br>Call id <call-id> of <a href="mailto:1000@domain.com">1000@domain.com</a> to <a href="mailto:sip%3A0033000000@domain.com">sip:0033000000@domain.com</a> canceled by user<br>
<br></div>As far as I can see the call_control module runs a postprocess_request() function which checks whether the dialog was created by checking FL_USE_CALL_CONTROL variable.<br><br></div>This variable is set at the time of the registration of call_controll to the dialog module DLGCB_CREATED.<br>
<br></div>Therefore if I call the call_control() function in kamailio after the dlg_manage, the FL_USE_CALL_CONTROL cannot be set and the call_control won't work.<br><br></div>In my configuration I would like to call the dlg_manage at the beginning of the script for example because of uac_replace_from as I have AUTO_RESTORE mode ON.<br>
<br></div>I have kamailio 4.0.2 and call_control 2.0.15.<br><br></div>Is there anything I can fix in a script or configuration or this is an implementation problem?<br><br></div>Thanks for the reply<br><br></div>Efelin<br>
</div>