|
@@ -2036,7 +2036,7 @@ kamailio_stop() {
|
|
options_ping() {
|
|
options_ping() {
|
|
myhost=`get_my_host`
|
|
myhost=`get_my_host`
|
|
require_ctlengine
|
|
require_ctlengine
|
|
- CMDPARAMS="= tm.t_uac_wait OPTIONS \"$1\" \".\" \".\" \"From:sip:daemon@$myhost=CRLF=To:<$1>=CRLF=Contact:sip:daemon@$myhost=CRLF=\""
|
|
|
|
|
|
+ CMDPARAMS="= tm.t_uac_wait_block OPTIONS \"$1\" \".\" \".\" \"From:sip:daemon@$myhost=CRLF=To:<$1>=CRLF=Contact:sip:daemon@$myhost=CRLF=\""
|
|
if [ $CTLENGINETYPE -eq 1 ] ; then
|
|
if [ $CTLENGINETYPE -eq 1 ] ; then
|
|
ctl_cmd_run $CMDPARAMS
|
|
ctl_cmd_run $CMDPARAMS
|
|
else
|
|
else
|