Hello all,

I'm currently developing some kamailio scripts with app_jsdt by migrating a
proxy of mine from Kamailio routing script to Js.

I've migrated some parts of my request_route and everything seems to be
working fine.

I am now trying to migrate my event routes to JS and I started with dialog.

dialog parameters : modparam("dialog", "event_callback", "dialogEvent")

Code :
function dialogEvent(event) {
     KSR.info("Dialog event " + event + " in JS")
}

After this i try to make a call and in my logs i have :
    "Dialog event unknown in JS"
     "Dialog event dialog:start in JS"

Is this normal behaviour that I should ignore and only try to process
"start,end,failure" or is this a signal of something wrong in my code?

I also have this error in my code : "sr_kemi_cbname_lookup_idx(): index 1
is out of range". Does that mean that i have a JS function that calls a
missing function in kamailio script or the opposite? How can I identify the
root cause?

Thanks in advance,

Cheers
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to