Displaying 11 results from an estimated 11 matches for "struser".
Did you mean:
stduser
2007 May 05
2
Manager API Output
...i,
Is there any way that I can store my manager API output that is:
My question is that is there any why using that I can get the QueueStatus
and store the result in some text file for further processing.
<?php
$strHost = "127.0.0.1";
$strUser = "cron";
$strSecret = "1234";
$oSocket = fsockopen($strHost, 5038,
$errnum, $errdesc) or die("Connection to host failed");
fputs($oSocket, "Action: Login\r\n");...
2007 Jul 06
1
Asterisk Manager
...ode for * manager:
$oSocket = fsockopen($strHost, 5038,
$errnum, $errdesc) or die("Connection to host failed");
fputs($oSocket, "Action: login\r\n");
fputs($oSocket, "Username: $strUser\r\n");
fputs($oSocket, "Secret:
$strSecret\r\n\r\n");
fputs($oSocket, "Action: Originate\r\n");
fputs($oSocket, "Channel: $strChannel\r\n");...
2007 Jul 08
1
Asterisk Help
...50%. so please advise.
$oSocket = fsockopen($strHost, 5038, $errnum,
$errdesc) or die("Connection to host failed");
fputs($oSocket, "Action: login\r\n");
fputs($oSocket, "Username: $strUser\r\n");
fputs($oSocket, "Secret:
$strSecret\r\n\r\n");
fputs($oSocket, "Action: Originate\r\n");
fputs($oSocket, "Channel: $strChannel\r\n");...
2014 Mar 04
0
Anybody have issues joining machines to a S4 AD domain using VBS
...AIN = 1
Const ACCT_CREATE = 2
Const ACCT_DELETE = 4
Const WIN9X_UPGRADE = 16
Const DOMAIN_JOIN_IF_JOINED = 32
Const JOIN_UNSECURE = 64
Const MACHINE_PASSWORD_PASSED = 128
Const DEFERRED_SPN_SET = 256
Const INSTALL_INVOCATION = 262144
strDomain = "xxxx.com"
strPassword = "xxxx"
strUser = "Joiner"
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
'Join Computer to domain
Set objNetwork = CreateObject("WScript.Network")...
2011 Feb 13
1
Call Files, Variable passing
Hi,
I am having trouble passing variables via the call files, here is my call
file via the php:
fputs($oSocket, "Action: login\r\n");
fputs($oSocket, "Events: off\r\n");
fputs($oSocket, "Username: $strUser\r\n");
fputs($oSocket, "Secret: $strSecret\r\n\r\n");
fputs($oSocket, "Action: originate\r\n");
fputs($oSocket, "Channel: $strChannel\r\n");
fputs($oSocket, "WaitTime: $strWaitTime\r\n");
fputs($oSocket, "CallerId: $strCallerId\r...
2006 Dec 29
0
PHP to call script
...xxx.xxx ;(the ip address of the
server this page is running on)
$strHost = "127.0.0.1";
#specify the username you want to login with (these users are defined in
/etc/asterisk/manager.conf)
#this user is the default AAH AMP user; you shouldn't need to change, if
you're using AAH.
$strUser = "admin";
#specify the password for the above user
$strSecret = "amp111";
####-----This block is not used in this script----###
#specify the channel (extension) you want to receive the call requests with
#e.g. SIP/XXX, IAX2/XXXX, ZAP/XXXX, etc
#$strChannel = "IAX2/XXXXX...
2007 Jan 02
5
Call connected, cannot hear or speak - $20 for fix
...xxx.xxx ;(the ip address of the
server this page is running on)
$strHost = "127.0.0.1";
#specify the username you want to login with (these users are defined in
/etc/asterisk/manager.conf)
#this user is the default AAH AMP user; you shouldn't need to change, if
you're using AAH.
$strUser = "admin";
#specify the password for the above user
$strSecret = "amp111";
#specify the channel (extension) you want to receive the call requests with
#e.g. SIP/XXX, IAX2/XXXX, ZAP/XXXX, etc
$strChannel = "Local/15555555555@outrt-001-telasip";
#specify the context t...
2001 Jan 10
0
Re: some problems with windows(rescale=) (PR#794)
...{
> user <- strwidth(jandltext, cex=cex, units="user")
> inches <- strwidth(jandltext, cex=cex, units="inches")
> pin <- par("pin")
> din <- par("din")
> data.frame(din=din[1], aspectratio=din[1]/din[2], pintodin=pin[1]/din[1], struser=user, strinchtopin=inches/pin[1], strinch=inches)
> }
>
> windows(width=width, height=height, rescale="fit") # this one serves as reference for initial window size
> windows(width=width, height=height, rescale="fit")
> par(cex=1)
> par(mai=c(0,0,0,0))
> plot...
2007 Jul 08
1
Early Media Handling
...on.
my php script:
$oSocket = fsockopen($strHost, 5038,
$errnum, $errdesc) or die("Connection to host failed");
fputs($oSocket, "Action: login\r\n");
fputs($oSocket, "Username: $strUser\r\n");
fputs($oSocket, "Secret:
$strSecret\r\n\r\n");
fputs($oSocket, "Action: Originate\r\n");
fputs($oSocket, "Channel: $strChannel\r\n");...
2007 Oct 13
0
Set up two PSTN calls and then join them
...s
this called 3pcc?). The PSTN interconnect is handled by a third party SIP
provider.
I can do this using the manager or call files. An example (using php) would
be:
fputs($oSocket, "Action: login\r\n");
fputs($oSocket, "Events: off\r\n");
fputs($oSocket, "Username: $strUser\r\n");
fputs($oSocket, "Secret: $strSecret\r\n\r\n");
fputs($oSocket, "Action: originate\r\n");
fputs($oSocket, "Channel: $strChannel\r\n");
fputs($oSocket, "WaitTime: $strWaitTime\r\n");
fputs($oSocket, "CallerId: $strCallerId\r\n");
fpu...
2000 Dec 28
1
some (may be related) problems with windows(rescale=) (PR#794)
###############################################################################
Before reporting 4 problems with windows(rescale=) I want to congrat on R1.2 and to thank r-developers for quickly adding the rescale workaround to the windows version.
Happy New Year
Jens Oehlschlaegel
###############################################################################