Tried adding that log into my onreply_route[1] block, but it didn't work. I can't seem to figure out I can possibly capture the SIP message which is generating this error. Any help would be much appreciated.
On Fri, Apr 10, 2009 at 10:23 PM, Geoffrey Mina <[email protected]> wrote: > Perhaps I should clarify what I am looking for a bit. I am guessing > based on the log "no via found in reply" that I would need to check > for this condition in my onreply_route[1] block. > > Based on my knowledge of SIP, all reply responses are REQUIRED to have > a VIA header to ensure the response traverses the same path as the > request... correct? > > Would the following effectively deal with this condition, or would > sending a 500 error in response to a reply cause problems down stream? > > onreply_route[1]{ > if(!is_present_hf("Via")){ > sl_reply_error("500","No Via found in response."); > } > } > > Thanks for anyone's assistance. > Geoff > > On Fri, Apr 10, 2009 at 12:02 PM, Geoffrey Mina <[email protected]> > wrote: >> Hello, >> I am seeing the following message repeatedly in my log file. I am >> guessing I have a server or servers misbehaving. Where might I be >> able to check for this error condition and log appropriately? I have >> attached my current configuration file for reference. >> >> Thanks! >> Geoff >> >> >> Apr 10 11:45:40 atl-sipgateway2 /usr/local/sbin/kamailio[15487]: >> ERROR:core:receive_msg: no via found in reply >> Apr 10 11:45:42 atl-sipgateway2 /usr/local/sbin/kamailio[15490]: >> ERROR:core:receive_msg: no via found in reply >> Apr 10 11:45:46 atl-sipgateway2 /usr/local/sbin/kamailio[15490]: >> ERROR:core:receive_msg: no via found in reply >> Apr 10 11:45:50 atl-sipgateway2 /usr/local/sbin/kamailio[15507]: >> ERROR:core:receive_msg: no via found in reply >> Apr 10 11:45:54 atl-sipgateway2 /usr/local/sbin/kamailio[15497]: >> ERROR:core:receive_msg: no via found in reply >> Apr 10 11:45:58 atl-sipgateway2 /usr/local/sbin/kamailio[15491]: >> ERROR:core:receive_msg: no via found in reply >> Apr 10 11:46:02 atl-sipgateway2 /usr/local/sbin/kamailio[15490]: >> ERROR:core:receive_msg: no via found in reply >> Apr 10 11:46:06 atl-sipgateway2 /usr/local/sbin/kamailio[15485]: >> ERROR:core:receive_msg: no via found in reply >> Apr 10 11:47:46 atl-sipgateway2 /usr/local/sbin/kamailio[15485]: >> ERROR:core:receive_msg: no via found in reply >> Apr 10 11:47:47 atl-sipgateway2 /usr/local/sbin/kamailio[15486]: >> ERROR:core:receive_msg: no via found in reply >> Apr 10 11:47:48 atl-sipgateway2 /usr/local/sbin/kamailio[15507]: >> ERROR:core:receive_msg: no via found in reply >> Apr 10 11:47:50 atl-sipgateway2 /usr/local/sbin/kamailio[15503]: >> ERROR:core:receive_msg: no via found in reply >> Apr 10 11:47:54 atl-sipgateway2 /usr/local/sbin/kamailio[15492]: >> ERROR:core:receive_msg: no via found in reply >> Apr 10 11:47:58 atl-sipgateway2 /usr/local/sbin/kamailio[15485]: >> ERROR:core:receive_msg: no via found in reply >> Apr 10 11:48:02 atl-sipgateway2 /usr/local/sbin/kamailio[15490]: >> ERROR:core:receive_msg: no via found in reply >> Apr 10 11:48:06 atl-sipgateway2 /usr/local/sbin/kamailio[15491]: >> ERROR:core:receive_msg: no via found in reply >> Apr 10 11:48:10 atl-sipgateway2 /usr/local/sbin/kamailio[15492]: >> ERROR:core:receive_msg: no via found in reply >> > _______________________________________________ Kamailio (OpenSER) - Users mailing list [email protected] http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
