Displaying 20 results from an estimated 65 matches for "extensionstate".
2009 May 20
2
Manager ExtensionState function
....1');
$astman->connect || die $astman->error . "\n";
$astman->setcallback('Hangup', \&hangup_callback);
$astman->setcallback('DEFAULT', \&default_callback);
my %out = $astman->sendcommand(
Action => 'ExtensionState',
Context => demo1,
Exten => 11,
ActionID => 1,
);
if( $out{'Status'} )
{
print STDERR "Extension Status $out{'Sta...
2008 Dec 22
1
AMI and ExtensionState command returning bogus 'status' number
Hello List,
I have been working on a PHP application in order to build a BLF style
script.
Until now everything is going Ok but something a little (in my oppinion)
strange is going on with the 'ExtensionState' command;
The problem is that it does not returns the 'Status' as it's suposed to,
mentioned in the A.T.F.O.T book - version 2.,
where it sais something like:
"Notes: The following are the possible extension states:
-2 Extension removed
-1 Extension hint not found
0 Idle...
2005 Feb 02
0
ExtensionState problems using Manager.conf API
This is my first attempt to write software of any sort. What I am
trying to is to use a .php page to query asterisk Manager and get the
ExtensionState for each particular extension. Then when it has the
answer it outputs an XML file for use as the directory on a Cisco 7960
phone. What I am thinking is that when the user hits the directory
button to veiw the directory that is at this URL it will show the
directory, but based on teh extenstion st...
2013 Apr 04
1
ring group failure with "ExtensionState: 4"
...isk 11 and freepbx,
running Digium D40 and D70 phones.
Direct-dialed extensions work fine, but extensions in RingGroup won't
ring - dialparties.agi apparently removes them from the dialstring
pre-emptively:
dialparties.agi: EXTENSION_STATE: 4 (UNKNOWN)
dialparties.agi: Extension 2010 has ExtensionState: 4
What can I do? Any extension that is actually registered and
available is being removed, then the ring group drops through to
'Destination if no answer'. I've got a town hall waiting for this
system and I've never seen this problem before. Googling finds a few
people with...
2005 Jan 04
0
Manager API - ExtensionState help please.
I'm not having any luck getting the ExtensionState action of the Manager
API to work.
The response is always success but the Status is always -1 which to me
means an error.
Here is a typical telnet session.
-----------------------------------
stockholm:~ # telnet localhost 5038
Trying ::1...
telnet: connect to address ::1: Connection refused
Tryi...
2011 Jun 10
2
AMI question
Through the AMI how can I tell if a call is on hold or not? I am using 1.4.X
Thanks,
jerry
2012 Dec 20
7
asterisk 11 and DAHDI/i4
In 1.4.43 I would see things from "core show channels" like
DAHDI/18/xxxxx
for line 18
in Asterisk 11 its
DAHDI/i4/xxxx
How do I get the line number back?
Jerry
2005 Jan 13
4
Manager API !!!!!!!!!
...if (!$fp) {
echo "$errstr ($errno)<br />\n";
} else {
$out = "Action: Login\r\n";
$out .= "UserName: simon\r\n";
$out .= "Secret: xxxxxx\r\n\r\n";
fwrite($fp, $out);
$in = "Action: ExtensionState\r\n";
$in .= "Exten: 4367\r\n\r\n";
$in .= "Context: office\r\n\r\n";
$in .= "ActionID: \r\n\r\n";
$in .= "Action: Logoff\r\n\r\n";
fwrite($fp,$in);
while (!feof($fp)) {
echo fgets($fp, 128);...
2008 Jan 18
0
SIP
...you think such behaviour is general ?
My 2nd question is : using AMI, how can I tell for a given extension :
1. the number of ongoing calls (both incoming or outgoing ones),
2. classify them by time of creation (so that I can be somehow be certain to
tie each call with each BLF)
I've seen AMI ExtensionState Action (
http://www.voip-info.org/wiki/index.php?page=Asterisk+Manager+API+Action+ExtensionState)
but it won't tell the number of calls.
To complete my request, I must add that when I'm requesting an extension
ongoing calls listing, I haven't previously issued any request asking
Asteri...
2008 Jan 18
0
Advice on AMI and SIP (was: SIP)
...you think such behaviour is general ?
My 2nd question is : using AMI, how can I tell for a given extension :
1. the number of ongoing calls (both incoming or outgoing ones),
2. classify them by time of creation (so that I can be somehow be certain to
tie each call with each BLF)
I've seen AMI ExtensionState Action
(http://www.voip-info.org/wiki/index.php?page=Asterisk+Manager+API+Action+ExtensionState)
but it won't tell the number of calls.
To complete my request, I must add that when I'm requesting an extension
ongoing calls listing, I haven't previously issued any request asking
Asteris...
2009 Mar 30
0
Limit on simultaneous manager commands
Is there a limit to how many manager commands you can send pipelined in
a single Asterisk management session?
Right now it seems that if we dump a bunch of requests like this (two
isn't enough though):
action: ExtensionState
exten: 906
actionid: foo-141489356-52
context: Hints
action: ExtensionState
exten: 897
actionid: foo-141489356-53
context: Hints
the manager connection is reset by Asterisk. It would be nice with a
less severe notification that the limit is exceeded... The alternative
is to wait for the result be...
2011 Apr 13
1
How to know extensions status ???
Hi,
How to know the all SIP extensions status with AMI's ExtensionState ?
What is the value should I pass in
Context: <> ??
which will be define at context here ? shell I use sip.conf's context for
that extension or any other?
extension : <> ??
extension will be SIP/100 or just 100 ??
Please guide me ...........
-----
Thanks and regards
Virendr...
2003 Dec 28
0
Is there something wrong with "show manager commands"?
...tries in this dump.
bebop*CLI> show manager commands
bebop*CLPing Ping
bebop*CLLogoff Logoff Manager
bebop*CLHangup Hangup Channel
bebop*CLStatus Status
bebop*CLRedirect Redirect
bebop*CLOriginate Originate Call
bebop*CLMailboxStatus Check Mailbox
bebop*CLCommand Execute Command
bebop*CLExtensionState Check Extension Status
bebop*CLAbsoluteTimeout Set Absolute Timeout
bebop*CLMailboxCount Check Mailbox Message Count
bebop*CLMonitor Monitor a channel
bebop*CLStopMonitor Stop monitoring a channel
bebop*CLChangeMonitor Change monitoring filename of a channel
bebop*CLZapTransfer Transfer Zap...
2008 Oct 19
4
Asterisk Problem
...= Manager registered action Hangup
== Manager registered action Status
== Manager registered action Setvar
== Manager registered action Getvar
== Manager registered action Redirect
== Manager registered action Originate
== Manager registered action Command
== Manager registered action ExtensionState
== Manager registered action AbsoluteTimeout
== Manager registered action MailboxStatus
== Manager registered action MailboxCount
== Manager registered action ListCommands
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Foun...
2009 Mar 14
1
"automatic call bridging when destination is available" feature
...unless I invite it and ring it (OPTIONS doesn't tell me if DND is set on the "client's side" - especially on softphones).
So what I would prefer to do is a two-step call bridging of 102 (dst) with 101 (src):
1) periodically check via events (until globally-set timeout) via hints/ExtensionState that both dst and src are "available"/not in use.
2) when 1) is true then "originate" two simultaneous calls to both dst and src (or maybe just one call to dst). Upon answered, the originated calls should say something like "Automatic call bridging service: please wait whi...
2003 Dec 14
1
Error loading modem driver
...er registered action Logoff
== Manager registered action Hangup
== Manager registered action Status
== Manager registered action Redirect
== Manager registered action Originate
== Manager registered action MailboxStatus
== Manager registered action Command
== Manager registered action ExtensionState
== Manager registered action AbsoluteTimeout
== Manager registered action MailboxCount
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/rtp.conf': Found
== RTP Allocating from port range 10000 -> 20000
Asterisk PBX Core Initializing
Registering b...
2011 Jan 10
3
How to check a number online or offline
Hi all,
Now i want to check a number (channel) online, offline or unreachable on
asterisk but i don`t know to do. Can anyone help me to solve this issue.
Thanks and best regard!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110109/c193b48d/attachment.html>
2006 Oct 11
3
Asterisk 1.2.12.1 dies after asterisk -rx and never comes up again
...VERBOSE[6546] logger.c: == Manager registered action
Redirect
Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action
Originate
Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action
Command
Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action
ExtensionState
Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action
AbsoluteTimeout
Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action
MailboxStatus
Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action
MailboxCount
Oct 11 01:05:01 VERBOSE[6546] logger.c:...
2005 Feb 18
3
Help asterisk startup errors
...er registered action Status
== Manager registered action Setvar
== Manager registered action Getvar
== Manager registered action Redirect
== Manager registered action Originate
== Manager registered action MailboxStatus
== Manager registered action Command
== Manager registered action ExtensionState
== Manager registered action AbsoluteTimeout
== Manager registered action MailboxCount
== Manager registered action ListCommands
== Parsing '/etc/asterisk/manager.conf': Not found (No such file or
directory)
Unable to open management configuration manager.conf. Call management
disa...
2006 Apr 20
3
Asterisk Won't start after SVN Trunk Update
...= Manager registered action Hangup
== Manager registered action Status
== Manager registered action Setvar
== Manager registered action Getvar
== Manager registered action Redirect
== Manager registered action Originate
== Manager registered action Command
== Manager registered action ExtensionState
== Manager registered action AbsoluteTimeout
== Manager registered action MailboxStatus
== Manager registered action MailboxCount
== Manager registered action ListCommands
== Manager registered action WaitEvent
== Parsing '/etc/asterisk/manager.conf': Found
Apr 20 08:27:58 NOTIC...