Kamailio doesn't send internally anything to evapi, so it is a config issue.
At a quick look, you execute route(CGR_CALL_END) twice, once the dialog is ended and once a local request is generated, respectively:
# Called by Kamailio on dialog end
event_route[dialog:end] {
route(CGR_CALL_END);
}
# Called by Kamailio on local disconnect
event_route[tm:local-request] {
route(CGR_CALL_END);
}
If what you get is when kamailio ends the dialog, then event_route[tm:local-request] is executed for each BYE sent, one to caller and one to callee, so you get three times execution of route(CGR_CALL_END).
Eventually you can use an htable to keep a key with call-id that you sent the call end event and do not do it again.
Not being a code issue, I am closing this one here, for more discussions use sr-users@lists.kamailio.org
mailing list
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.