1 --- openser-1.0.0-tls.orig/scripts/sc 2005-08-11 14:08:02.000000000 +0200
2 +++ openser-1.0.0-tls/scripts/sc 2006-01-29 02:18:43.319054456 +0100
4 STARTOPTIONS= # for example -dddd
6 if [ -z "$DIR" ] ; then
10 if [ -z "$SERBIN" ] ; then
13 +if [ -z "$SIP_DOMAIN" ] ; then
14 + SIP_DOMAIN=$(nvram get sip_domain)
18 ##### ----------------------------------------------- #####
19 ### openser's FIFO server
23 if [ -z "$SERDOMAIN" ] ; then
24 - echo "domain unknown: use usernames with domain or set default domain in SIP_DOMAIN"
25 + echo "domain unknown: use usernames with domain or set default domain in SIP_DOMAIN (with 'nvram set sip_domain=YOUR_SIP_DOMAIN')"
31 fifo_cmd ul_show_contact $USRLOC_TABLE "$SERUSER@$SERDOMAIN"
32 elif [ $# -eq 1 ] ; then
33 - printf "Dumping all contacts may take long: are you sure you want to proceed? [Y|N] " > /dev/stderr
35 - if [ "$answer" = "y" -o "$answer" = "Y" ] ; then
40 echo "wrong number of params for usrloc show"