[OpenSER-Devel] openserctl ping
Daniel-Constantin Mierla
daniel at voice-system.ro
Fri Aug 24 09:39:21 CEST 2007
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:daemon@$myhost" \
> "To: <$1>" "Contact: <sip:daemon@!!>" "." "." \
> | 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:daemon@$myhost\r\nTo: <$1>\r\nContact: <sip:daemon@!!>\r\n" \
> | head -1 `
> print_status $RET
> }
>
> but then the command never returns.
>
> -- juha
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>
>
More information about the Devel
mailing list