mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 22:54:18 +00:00
fine tuning
This commit is contained in:
1 parent
a9ea9e5716
commit
de6762b462
2 files changed
+9
No files matched your search
@@ -33,6 +33,12 @@ if ($pin) {
|
||||
}
|
||||
$writer->endTag('params');
|
||||
|
||||
if ($exten eq "invalid" || $pin eq "invalid") {
|
||||
$writer->startTag('work');
|
||||
$writer->emptyTag('hangup', cause => "destination_out_of_order");
|
||||
$writer->endTag('work');
|
||||
}
|
||||
|
||||
if ($exten && $pin) {
|
||||
$writer->startTag('work');
|
||||
$writer->dataElement("playback", "http://sidious.freeswitch.org/sounds/ext_num.wav");
|
||||
@@ -58,6 +64,7 @@ if ($exten && $pin) {
|
||||
$writer->startTag('playback',
|
||||
name => "exten",
|
||||
file => "http://sidious.freeswitch.org/sounds/exten.wav",
|
||||
loops => "3",
|
||||
'error-file' => "http://sidious.freeswitch.org/sounds/invalid.wav",
|
||||
'input-timeout' => "5000");
|
||||
|
||||
|
||||
Reference in new issue
Block a user