You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ngcp-panel/lib/NGCP/Panel/Utils/Rewrite.pm

24 lines
387 B

package NGCP::Panel::Utils::Rewrite;
use strict;
use warnings;
use NGCP::Panel::Utils::XMLDispatcher;
sub sip_dialplan_reload {
my ($c) = @_;
NGCP::Panel::Utils::XMLDispatcher::dispatch($c, "proxy-ng", 1, 1, <<EOF );
<?xml version="1.0" ?>
<methodCall>
<methodName>dialplan.reload</methodName>
<params/>
</methodCall>
EOF
return 1;
}
1;
# vim: set tabstop=4 expandtab: