[sr-dev] [ openser-Bugs-2810005 ] exec_msg produces critical unknown address family message

SourceForge.net noreply at sourceforge.net
Tue Jun 30 11:10:11 CEST 2009


Bugs item #2810005, was opened at 2009-06-22 00:51
Message generated for change (Comment added) made by miconda
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2810005&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: ver 1.5.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: exec_msg produces critical unknown address family  message

Initial Comment:
In the kamailio.cfg file, I have a line
exec_msg("/usr/local/etc/kamailio/100out"); and every time it runs (every 10 seconds), it produces the following messages in the syslog. Since it is being executed from the local machine, the log message needs reviewing.

Jun 21 06:31:20 sipserver /usr/local/sbin/kamailio[20969]: CRITICAL:exec:ip_addr2a: unknown address family 0 
Jun 21 06:32:00 sipserver last message repeated 4 times
Jun 21 06:33:00 sipserver last message repeated 6 times
Jun 21 06:34:00 sipserver last message repeated 6 times
Jun 21 06:35:00 sipserver last message repeated 6 times
Jun 21 06:36:00 sipserver last message repeated 6 times
Jun 21 06:37:00 sipserver last message repeated 6 times
Jun 21 06:38:00 sipserver last message repeated 6 times
Jun 21 06:38:30 sipserver last message repeated 3 times

The file 100out contains:
#!/bin/bash
# buld a FIFO command to PUBLISH number of users, load, system CPU usage
#   and freem memory in the system
#

#config values
OP_SYSUSER="100 at sip.nzvrs.co.nz"
OP_SIPURI="sip:$OP_SYSUSER"
OP_EXPIRES="12"

#build reply fifo file
rm -f /tmp/kamailio_fifo_reply
mkfifo /tmp/kamailio_fifo_reply
cat /tmp/kamailio_fifo_reply&

cat >/tmp/kamailio_fifo <<EOF
:pua_publish:kamailio_fifo_reply
$OP_SIPURI
$OP_EXPIRES
presence
application/pidf+xml
.
.
<?xml version='1.0' encoding='UTF-8'?><presence xmlns='urn:ietf:params:xml:ns:pidf' xmlns:dm='urn:ietf:params:xml:ns:pidf:data-model' xmlns:rpid='urn:ietf:params:xml:ns:pidf:rpid' xmlns:c='urn:ietf:params:xml:ns:pidf:cipid' xmlns:lt='urn:ietf:params:xml:ns:location-type' entity='pres:$OP_SYSUSER'><tuple id='102 at sip.nzvrs.co.nz_on_Peter-PC'><note>dnd - Not currently operating</note><status><basic>open</basic></status><contact priority='1'>$OP_SIPURI</contact></tuple><dm:person id='pdb42f565'><rpid:activities><rpid:busy/></rpid:activities><dm:note>Closed - Please wait</dm:note></dm:person></presence>

EOF



----------------------------------------------------------------------

>Comment By: Daniel-Constantin Mierla (miconda)
Date: 2009-06-30 12:10

Message:
Do you run it from rtimer module?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2810005&group_id=139143



More information about the sr-dev mailing list