Anyone help me with this one.
I am trying to group users so that some are allowed place SIP->SIP calls via the proxy, and others are also allowed to access the PSTN.
An extract of the ser.cfg is below:
if (!is_user_in("credentials","int")) { sl_send_reply("403", " no permission for external calls"); break; }
When this is called, I receive this in /var/log/messages:
Mar 2 22:04:41 ns-nby-ser1 /usr/local/sbin/ser[6988]: is_user_in(): No authorized credentials found (error in scripts)
And the user fails to connect.
Any ideas would be greatly appreciated.
Mike
There are no credetials (username/password) in the incoming request. Have you requested credentials with proxy_authorize(...) ?
klaus
Mike Fallows wrote:
Anyone help me with this one.
I am trying to group users so that some are allowed place SIP->SIP calls via the proxy, and others are also allowed to access the PSTN.
An extract of the ser.cfg is below:
if (!is_user_in("credentials","int")) { sl_send_reply("403", " no permission for external calls"); break; }
When this is called, I receive this in /var/log/messages:
Mar 2 22:04:41 ns-nby-ser1 /usr/local/sbin/ser[6988]: is_user_in(): No authorized credentials found (error in scripts)
And the user fails to connect.
Any ideas would be greatly appreciated.
Mike
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers