Hello, I have set up call forwarding in Kamailio using user_preference table. When I make a call from a local extension the callfwd funcition works. The call gets forwarded to an external did number. The problem happens when and external call ( from a DID) comes to this extension the call does not get forwarded. I had to comment out the following lines in the config file to make it work:
# only local users allowed to call
# if((from_uri!=myself)) {
# sl_send_reply("403", "Not Allowed");
# exit;
# }
My question is if it is a risky think to comment out these lines? If so, what are my options.
Thank you,
Arun