should trunk openserctl ping work?  it looks to me that its arguments
don't conform to new t_uac_dlg syntax:

options_ping() {
        require_ctlengine
        myhost=`get_my_host`
        RET=`$CTLCMD t_uac_dlg OPTIONS "$1" "." \
                "From: sip:[EMAIL PROTECTED]" \
                "To: <$1>" "Contact: <sip:[EMAIL PROTECTED]>" "." "." \
                | head -1 ` 
        print_status $RET
}

i tried to change it as follows:

options_ping() {
        require_ctlengine
        myhost=`get_my_host`
        RET=`$CTLCMD t_uac_dlg OPTIONS "$1" "." "." "From: sip:[EMAIL 
PROTECTED]: <$1>\r\nContact: <sip:[EMAIL PROTECTED]>\r\n" \
                | head -1 ` 
        print_status $RET
}

but then the command never returns.

-- juha

_______________________________________________
Devel mailing list
Devel@openser.org
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to