<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3086" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN 
class=978233218-11062007>All:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=978233218-11062007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=978233218-11062007>I am receiving the 
following error below and I'm unable to determine the cause. I am new to 
OpenSER, so if it is something obvious, please let me know. This is currently 
installed on a CentOS 5 box with mysql 5. My configuration file is listed below. 
This happens as soon as I try to place a call that should get sent to asterisk 
running on the same machine.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=978233218-11062007></SPAN></FONT>&nbsp;</DIV>
<DIV><SPAN class=978233218-11062007><FONT face=Arial 
size=2>======================</FONT></SPAN></DIV>
<DIV><SPAN class=978233218-11062007><FONT face=Arial size=2>Jun 11 14:38:00 poll 
/usr/local/sbin/openser[13403]: START ROUTE 3<BR>Jun 11 14:38:00 poll 
/usr/local/sbin/openser[13403]: START ROUTE 1<BR>Jun 11 14:38:00 poll 
/usr/local/sbin/openser[13403]: ERROR: udp_send: 
sendto(sock,0xb60b0d00,899,0,0xb60af0c4,16): Operation not permitted(1)<BR>Jun 
11 14:38:00 poll /usr/local/sbin/openser[13403]: msg_send: ERROR: udp_send 
failed<BR>Jun 11 14:38:00 poll /usr/local/sbin/openser[13403]: 
ERROR:tm:t_forward_nonack: sending request failed<BR></FONT></SPAN><SPAN 
class=978233218-11062007><FONT face=Arial 
size=2>======================</FONT></SPAN></DIV>
<DIV><SPAN class=978233218-11062007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=978233218-11062007><FONT face=Arial 
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=978233218-11062007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=978233218-11062007><FONT face=Arial 
size=2>Josh</FONT></SPAN></DIV>
<DIV><SPAN class=978233218-11062007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=978233218-11062007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=978233218-11062007><FONT face=Arial 
size=2>======================</FONT></SPAN></DIV>
<DIV><SPAN class=978233218-11062007><FONT face=Arial size=2><FONT size=2>
<P># ----------- global configuration parameters ------------------------</P>
<P>debug=3</P>
<P>log_facility=LOG_LOCAL7</P>
<P>fork=yes</P>
<P>log_stderror=no</P>
<P>children=5</P>
<P>check_via=yes</P>
<P>dns=no</P>
<P>rev_dns=no</P>
<P>#dns_use_search_list=no</P>
<P>#dns_servers_no=2</P>
<P>disable_dns_blacklist=true</P>
<P>listen=X.X.X.X:5060</P>
<P>alias="cacti.dev.lcl"</P>
<P>alias="X.X.X.X"</P>
<P># ------------------ module loading ----------------------------------</P>
<P>#set module path</P>
<P>mpath="/usr/local/lib/openser/modules/"</P>
<P>loadmodule "mysql.so"</P>
<P>loadmodule "sl.so"</P>
<P>loadmodule "tm.so"</P>
<P>loadmodule "rr.so"</P>
<P>loadmodule "maxfwd.so"</P>
<P>loadmodule "usrloc.so"</P>
<P>loadmodule "registrar.so"</P>
<P>loadmodule "textops.so"</P>
<P>loadmodule "xlog.so"</P>
<P>loadmodule "auth.so"</P>
<P>loadmodule "auth_db.so"</P>
<P>loadmodule "domain.so"</P>
<P>loadmodule "acc.so"</P>
<P>loadmodule "uri_db.so"</P>
<P>loadmodule "alias_db.so"</P>
<P>loadmodule "avpops.so"</P>
<P># ----------------- setting module-specific parameters ---------------</P>
<P># -- usrloc params --</P>
<P>modparam("usrloc", "db_mode", 2)</P>
<P>modparam("usrloc", "timer_interval", 3)</P>
<P># -- auth params --</P>
<P>modparam("auth_db", "calculate_ha1", 1)</P>
<P>modparam("auth_db", "password_column", "password")</P>
<P># -- define db connection for other modules --</P>
<P>modparam("acc|auth_db|avpops|group|speeddial|uri_db|usrloc|domain|alias_db", 
"db_url", "mysql://USERNAME:PASSWORD@localhost/openser")</P>
<P>modparam("mysql", "auto_reconnect", 1)</P>
<P>modparam("mysql", "ping_interval", 300)</P>
<P># -- rr params --</P>
<P># add value to ;lr param to make some broken UAs happy</P>
<P>modparam("rr", "enable_full_lr", 1)</P>
<P># -- acc params --</P>
<P>modparam("acc", "log_level", 1)</P>
<P>modparam("acc", "db_flag", 1)</P>
<P>modparam("acc", "db_missed_flag", 3)</P>
<P># -- tm params --</P>
<P>modparam("tm", "fr_timer", 35)</P>
<P>modparam("tm", "fr_inv_timer", 30)</P>
<P>modparam("tm", "noisy_ctimer", 1)</P>
<P># -- avp params --</P>
<P>modparam("avpops", "avp_table", "usr_preferences")</P>
<P># ------------------------- request routing logic -------------------</P>
<P># main routing logic</P>
<P>route{</P>
<P>if (!mf_process_maxfwd_header("10")) {</P>
<P>sl_send_reply("483","Too Many Hops");</P>
<P>exit;</P>
<P>};</P>
<P>if (msg:len &gt;= 2048 ) {</P>
<P>sl_send_reply("513", "Message too big");</P>
<P>exit;</P>
<P>};</P>
<P>if (!method=="REGISTER")</P>
<P>record_route();</P>
<P>if (loose_route()) {</P>
<P>append_hf("P-hint: rr-enforced\r\n"); </P>
<P>route(1);</P>
<P>};</P>
<P>if (!uri==myself) {</P>
<P>append_hf("P-hint: outbound\r\n"); </P>
<P>route(1);</P>
<P>};</P>
<P>if(method!="REGISTER" &amp;&amp; method!="ACK")</P>
<P>{</P>
<P>setflag(1);</P>
<P>};</P>
<P>#do not send to voicemail if BYE or CANCEL</P>
<P>#is used to end call before user pickup or timeout</P>
<P>if(method=="CANCEL" || method=="BYE")</P>
<P>{</P>
<P>setflag(10);</P>
<P>};</P>
<P>&nbsp;</P>
<P>#if (uri==myself) { </P>
<P>if (method=="ACK") {</P>
<P>route(1);</P>
<P>exit;</P>
<P>} if (method=="CANCEL") {</P>
<P>route(1);</P>
<P>exit;</P>
<P>} if (method=="INVITE") {</P>
<P>route(3);</P>
<P>exit;</P>
<P>} else if (method=="REGISTER") {</P>
<P>route(2);</P>
<P>exit;</P>
<P>};</P>
<P>#}</P>
<P>&nbsp;</P>
<P>route(1);</P>
<P>}</P>
<P>route[1] {</P>
<P>xlog("L_INFO", "START ROUTE 1\n");</P>
<P>if (!t_relay()) {</P>
<P>sl_reply_error();</P>
<P>};</P>
<P>}</P>
<P>route[2] {</P>
<P>sl_send_reply("100", "Trying");</P>
<P>if (!www_authorize("","subscriber")) {</P>
<P>www_challenge("","0");</P>
<P>exit;</P>
<P>}</P>
<P>if (!check_to()) {</P>
<P>sl_send_reply("403", "Spoofed To-URI Detected");</P>
<P>exit;</P>
<P>}</P>
<P></P>
<P>consume_credentials();</P>
<P>if (!save("location")) {</P>
<P>sl_reply_error();</P>
<P>}</P>
<P>}</P>
<P>&nbsp;</P>
<P>route[3] {</P>
<P>xlog("L_INFO", "START ROUTE 3\n");</P>
<P>&nbsp;</P>
<P>if (!is_uri_host_local()) {</P>
<P>route(1);</P>
<P>return;</P>
<P>};</P>
<P>if (!lookup("location")) {</P>
<P>route(4);</P>
<P>return;</P>
<P>};</P>
<P>t_on_failure("1");</P>
<P>route(1);</P>
<P>}</P>
<P>&nbsp;</P>
<P>route[4] {</P>
<P>xlog("L_INFO", "ROUTE BLOCK 4\n");</P>
<P>if (!proxy_authorize("cacti.dev.lcl","subscriber")) {</P>
<P>proxy_challenge("cacti.dev.lcl","0");</P>
<P>return;</P>
<P>} else if (!check_from()) {</P>
<P>sl_send_reply("403", "Use From=ID");</P>
<P>return;</P>
<P>};</P>
<P>xlog("L_INFO", "Call OUT\n");</P>
<P>rewritehostport("127.0.0.1:5065");</P>
<P># append_branch();</P>
<P>t_on_failure("1");</P>
<P>route(1);</P>
<P>}</P>
<P>failure_route[1] {</P>
<P>xlog("L_INFO", "FAILURE ROUTE 1\n");</P>
<P>if (t_check_status("487")) {</P>
<P>return;</P>
<P>};<BR>}</P></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=978233218-11062007><FONT face=Arial 
size=2>======================</FONT></SPAN></DIV></BODY></HTML>