может быть NO ANSWER да же, если кто-то ответил на звонок.
;; Это надо вставить перед вызовом очереди
same => n,Set(CHANNEL(hangup_handler_push)=hdlr-queue-miss-call,s,1(${CALLERID(num)})
[hdlr-queue-miss-call]
exten => s,1,Noop(---==== Handler queue miss call ===---)
same => n,Set(CLIENT_NUMBER=${ARG1})
same => n,GotoIf($[${ABANDONED}]?:end_call)
same => n,AGI(tg-noanswer.php, ${CLIENT_NUMBER}, ${STRFTIME(${EPOCH},,%Y.%m.%d--H:%M:%S)})
same => n(end_call),Hangup()
<TextBox Text="{Binding Login}" x:Name="TbxLogin" />
<PasswordBox x:Name="PasswordBox" />
<Button Content="Log in" Command="{Binding SigninCommand}"
CommandParameter="{Binding ElementName=PasswordBox}" IsDefault="True" />
public ICommand SigninCommand { get; set; }
private void Signin(object param)
{
var passwordBox = param as PasswordBox;
if (passwordBox == null)
return;
var password = passwordBox.Password;
...
}
acl:
admin:
user:
- "pupkin_v": "example.com"
- "sidorov": "example.com"
local:
server: "example.com"
access_rules:
...
muc_admin:
- allow: admin
muc_create:
- allow: local
muc:
- allow
...
modules:
...
mod_muc:
db_type: mnesia
access:
- allow
access_admin: muc_admin
access_create: muc_create
access_persistent: muc_create
...
public Form1()
{
InitializeComponent();
}
private void button2_Click(object sender, EventArgs e)
{
string search = textBox2.Text;
int index = listBox1.Items.IndexOf(search);
listBox1.SelectedIndex = index;
}
}
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.site.ru
RewriteCond %{HTTP_HOST} ([^.]+)\.site.ru
RewriteRule ^(.*)$ /users/%1
$Computername = $env:COMPUTERNAME
$adsi = [ADSI]"WinNT://$Computername"
$Users = $adsi.Children | where {$_.SchemaClassName -eq 'user'}
$Users | % {
$_ | Select Name, LastLogin
}