Hi Matteo,
could you generate a patch (it is easier to integrate) and post it to
the tracker (
http://sourceforge.net/tracker/?group_id=139143) not to get
lost in this period before Christmas holidays?
Cheers,
Daniel
On 12/16/05 11:06, Matteo Piazza wrote:
Ok,
but the problem is that the q-value is fixed to 1.00 so I have modify
the openserctl script:
I insert another variable in the command fifo ul_add
and the q-value is the third variable, so If you want insert a new
contact the new line command is:
# opneserctl ul add 309 sip:400@192.168.9.97 0.80
===========================================================
add)
if [ $# -ne 4 ] ; then
usage
exit 1
fi
shift
check_uri "$2"
set_user $1
if [ "$?" -ne "0" ] ; then
echo "$2 is not a valid URI"
exit 1
fi
if [ "$CHECK_SUB" -ne 0 ] ; then
is_user $1
if [ $? -eq 0 ] ; then
echo overlap of alias with an
existing subscriber name
exit 1;
fi
fi
check_alias "$SERUSER@$SERDOMAIN"
# 128 means FL_PERSISTENT is on
fifo_cmd ul_add "$USRLOC_TABLE"
"$SERUSER@$SERDOMAIN" "$2" "0" "$3" "0"
"128"
exit $?
samuel wrote:
I wouldn't do that...but if you really know
what you are doing, you
can try
openserctl fifo ul_rm <user>
openserctl fifo ul_add .....
Check for the sintax in older threads...
Samel.
2005/12/15, Matteo Piazza <matteo.piazza(a)create-net.it>it>:
Hi
Is it possibile to change the q-value of a contact with openserctl
command?
Matteo Piazza
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users