Hello,
On 10/14/13 10:07 AM, Efelin Novak wrote:
you can call dlg_manage() inside if conditions for initial requests and within dialog requests. So for initial you have it towards the end of the script. Anyhow, in both cases, do it as much as possible before relaying.Is there anything I can fix in a script or configuration or this is an implementation problem?I have kamailio 4.0.2 and call_control 2.0.15.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.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.This variable is set at the time of the registration of call_controll to the dialog module DLGCB_CREATED.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.and following log from call_control python applicationi have a problem with call_control module. I get a following log from kamailioHi folks,
kamailio[15066]: WARNING: call_control [call_control.c:1159]: postprocess_request(): dialog to trace controlled call was not created. discarding callcontrol.
Call id <call-id> of 1000@domain.com to sip:0033000000@domain.com canceled by user
Cheers,
Daniel
-- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio Advanced Trainings - Berlin, Nov 25-28; Miami, Nov 18-20, 2013 - more details about Kamailio trainings at http://www.asipto.com -
_______________________________________________
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