[Serusers] I cannot compile "check_from()" method although I load module "uri"

tulay sazak tulaysazak at yahoo.com
Sun Sep 11 13:12:08 CEST 2005


Hello everbody,

I loaded module "uri" and my ser.cfg is as below:

.....
loadmodule "/usr/local/lib/ser/modules/uri.so"
.....
if (method=="INVITE") {
  if (!radius_proxy_authorize("iptel.org")) {
    proxy_challenge("iptel.org", "1");
    break;
  }

  if (!check_from()) {
    sl_send_reply("403", "Forbidden");
    break;
  }
}
........

When I run ser, it says:

 0(10457) find_export: <check_from> not found
 0(10457) find_export: <check_from> not found
 0(10457) parse error (183,35-36): unknown command,
missing loadmodule?

Can you see what am I doing wrong ??

Thanks in advance
Regards

Tulay





	
		
______________________________________________________ 
Yahoo! for Good 
Watch the Hurricane Katrina Shelter From The Storm concert 
http://advision.webevents.yahoo.com/shelter 




More information about the sr-users mailing list