Hello,
Lol Zimmerli lolzim@worldcom.ch écrit/wrote:
I then tried something like this: if (method=="INVITE"){ if (src_ip != "212.xxx.xxx.xxx"){ if (!www_authorize("domain.com", "subscriber")) { www_challenge("domain.com", "1"); break; }; }; else{ route(1); }; };
After reading more doc, I found proxy_*() functions, but this: if (method=="INVITE"){ if (src_ip != "212.xxx.xxx.xxx"){ if (!proxy_authorize("domain.com", "subscriber")) { proxy_challenge("domain.com", "1"); break; }; }; else{ route(1); }; };
Fails also: Starting SIP Express Router ERROR: bad config file (6 errors) startproc: exit status of parent of /usr/local/sbin/ser: 255
:(