Hi Daniel
Thank you very much for looking into it.
I don't see us setting a value to the avp. We aren't even using the avp at present:
#!ifdef WITH_DISPATCHER_LOAD_AWARE
modparam("dispatcher", "dstid_avp", "$avp(dsdstid)")
modparam("dispatcher", "ds_hash_size", 8)
#!endif
We have the directive for WITH_DISPATCHER_LOAD_AWARE off at the moment.
After reading this email I went through my code to find all the places that we reference the dispatcher.
I was planning on copy and pasting the code blocks to you but in the process I found the issue in a spot I wasn't expecting.
route[WITHINDLG] {
xlog("L_DEBUG", "route WITHINDLG: will -- DLG triggered, request method: $rm \n");
#!ifdef WITH_DISPATCHER
if(is_method("BYE|CANCEL")) {
xlog("L_DEBUG","route WITHINDLG: cancel or bye detected, request method: $rm \n");
ds_load_update();
#dlg_get ("$ci","$ft","$tt");
#dlg_bye ("all");
}
#!endif
Running the ds_load_update seems like it was triggering the error.
I changed this block to this:
route[WITHINDLG] {
xlog("L_DEBUG", "route WITHINDLG: will -- DLG triggered, request method: $rm \n");
#!ifdef WITH_DISPATCHER
if(is_method("BYE|CANCEL")) {
xlog("L_DEBUG","route WITHINDLG: cancel or bye detected, request method: $rm \n");
#!ifdef WITH_DISPATCHER_LOAD_AWARE
xlog("L_DEBUG","route WITHINDLG: running ds_load_update, request method: $rm \n");
ds_load_update();
#dlg_get ("$ci","$ft","$tt");
#dlg_bye ("all");
#!endif
}
#!endif
And now I don't see the error any more.
If the error shouldn't have been showing up I am happy to send you more of the config to look at it if it's useful.
Thanks again very much for your help figuring out the issue.
I hope you have a great holidays.
Will Ferrer
Switchsoft Inc