Hello Juha,

what do you get in log messages (running with higher debug level)?

Cheers,
Daniel


On 08/24/07 09:28, Juha Heinanen wrote:
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
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel


_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to