[Spce-user] unauth_inbound_calls shows no effect

Andrew Pogrebennyk apogrebennyk at sipwise.com
Tue Aug 27 17:26:32 EDT 2013


Hi,

On 08/27/2013 05:37 PM, Thomas Strobel wrote:
> I've installed sipwise ngcp-* 3 on Debian 7, and it is up and running
> almost as expected. However, I can't receive calls from foreign/non-peer
> domains.
> 
> I've set "unauth_inbound_calls" for my domain, but it does not seem to
> have any effect. Did anyone of you come across the same or similar
> problem, or do you have any hint on how I could track the problem down?

I have just released templates version 3.0.13, please run the apt-get
update; apt-get upgrade as usual.

Or you can edit the proxy.cfg.customtt.tt2 - the fix is pretty simple:

diff --git a/kamailio/proxy/proxy.cfg b/kamailio/proxy/proxy.cfg
index 0e6e9c4..cfa5148 100644
--- a/kamailio/proxy/proxy.cfg
+++ b/kamailio/proxy/proxy.cfg
@@ -600,7 +600,7 @@ route[ROUTE_LOAD_CALLEE_DOMAIN_PREF]
 {
        [% debug_dump('start', 'ROUTE_LOAD_CALLEE_DOMAIN_PREF') %]
        xlog("L_INFO", "Load domain preferences for callee - [% logreq
-%]\n");
-       if (!lua_run("ngcp_callee_usr_load", "", "$ru"))
+       if (!lua_run("ngcp_callee_usr_load", "", "$rd"))
        {
                route(ROUTE_ADD_CALLINFO_REPLY);
                sl_send_reply("500", "Internal Error");

Thanks for the bugreport!

Andrew




More information about the Spce-user mailing list