Hi All,
My requirement is when incoming call comes from internal user in i want to put 
kamailio ip and port in Contact header and forward or dispatch request to sip 
trunk carrier but i am unable to do so using KEMI frame work LUA. Can someone 
please give some pointer please?

KSR.textops.remove_hf("Contact");
KSR.textopsx.assign_hf_value("Contact","<sip:[email protected]>");
KSR.rtpengine.rtpengine_manage0();
if KSR.tm.t_relay()<0 then
    KSR.sl.sl_reply_error();
end
__________________________________________________________
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