4e016d6fd1
some more work still to do but most things should run ok, and it's easier to handle that in-tree. KAMAILIO (OpenSER) is a mature and flexible open source SIP server (RFC3261). It can be used on systems with limitted resources as well as on carrier grade servers, scaling to up to thousands call setups per second. It is written in pure C for Unix/Linux-like systems with architecture specific optimizations to offer high performances. It is customizable, being able to feature as fast load balancer; SIP server flavours: registrar, location server, proxy server, redirect server; gateway to SMS/XMPP; or advanced VoIP application server.
20 lines
694 B
Plaintext
20 lines
694 B
Plaintext
$OpenBSD: patch-scripts_kamctl,v 1.1.1.1 2009/06/04 13:44:09 sthen Exp $
|
|
|
|
# N.B. Hand-edited to avoid CVS keywords.
|
|
|
|
--- scripts/kamctl.orig Wed May 13 21:34:58 2009
|
|
+++ scripts/kamctl Wed May 13 21:36:31 2009
|
|
@@ -1,2 +1,2 @@
|
|
-#!/usr/local/bin/bash
|
|
+#!/bin/sh
|
|
#
|
|
@@ -1654,7 +1654,7 @@ openser_stop() {
|
|
options_ping() {
|
|
myhost=`get_my_host`
|
|
require_ctlengine
|
|
- CMD="t_uac_dlg OPTIONS \"$1\" \".\" \".\" \"From:daemon@$myhost"$'\r\n'"To:<$1>"$'\r\n'"Contact:daemon@$myhost"$'\r\n'"\""
|
|
+ CMD="t_uac_dlg OPTIONS \"$1\" \".\" \".\" \"From:daemon@$myhost"$(printf '\r\n')"To:<$1>"$(printf '\r\n')"Contact:daemon@$myhost"$(printf '\r\n')"\""
|
|
RET=`$CTLCMD $CMD | head -1`
|
|
print_status $RET
|
|
}
|