Displaying 17 results from an estimated 17 matches for "channelstate".
Did you mean:
channelstats
2018 Mar 22
2
AMI potential memory leak
...g the Event: AsyncAGIExec being sent.
It seems to do everything right up to that.
Directly from Asterisk logging...
Here is a play example from this morning...
[03/22 08:13:32.219] DEBUG[1228] manager.c: Examining AMI event:
Event: Newexten
Privilege: call,all
Channel: SIP/192.168.40.105-000000c5
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: 1234
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 11
Context: ABC
Exten: 3002
Priority: 8
Uniqueid: 1521724388.197
Linkedid: 1521724388.197
Extension: 3002
Application: AGI
AppData:...
2020 Aug 06
2
Is it possible to use Stasis to control both legs of a Local channel created using ARI?
...nnection and see both channels there, but the send local channel seems to not process the dial plan. Can someone tell me if this is possible and if so what am I doing wrong?
Here is the AMI for the two local channel
Event: Newchannel
Privilege: call,all
Channel: Local/1000 at mycontext-0000000b;1
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: mycontext
Exten: 1000
Priority: 1
Uniqueid: mycallerid.1
Linkedid: mycallerid.1
Event: Newchannel
Privilege:...
2018 Mar 21
2
AMI potential memory leak
...syncAGIEXEC event...
This is coming directly from the Asterisk log so it's clearly Asterisk filling the Result with what appears to be random characters.
[03/21 15:44:27.793] DEBUG[1213] manager.c: Examining AMI event:
Event: AsyncAGIExec
Privilege: agi,all
Channel: SIP/192.168.40.105-00001338
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: 1234
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 11
Context: ABC
Exten: 3002
Priority: 8
Uniqueid: 1521665055.4920
Linkedid: 1521665055.4920
Result: %F7%EF%F0%F4z%7C%EE%EF%F6%FCkWDD...
2009 Oct 21
1
ChannelStateDesc: Ring ?
Hello.
I've experience a rather surprising behaviour of the AMI 1.1
> Event: Newstate^M
> Privilege: call,all^M
> Channel: SIP/XXXXXX-089c63b8^M
> ChannelState: 4^M
> ChannelStateDesc: Ring^M
> CallerIDNum: XXXXXXXX^M
> CallerIDName: YYYYYYYYY^M
> Uniqueid: 1256089773.59^M
Usually ChannelStateDesc gives me 'Ringing' but sometimes it only gives
me 'Ring', which drives my application to 100% CPU (OK, not a very
resilient app f...
2010 May 20
0
Early injecting Jack between call parties
...ination: SIP/GW1-000001bf
CallerIDNum: <unknown>
CallerIDName: <unknown>
UniqueID: 1274308923.446
DestUniqueID: 1274308923.447
Dialstring: GW1/00737062646666
human_now: 2010-05-20 01:42:10.646068
Event: Newstate
Privilege: call,all
Timestamp: 1274308930.646068
Channel: SIP/GW1-000001bf
ChannelState: 5
ChannelStateDesc: Ringing
CallerIDNum: 37062646666
CallerIDName:
Uniqueid: 1274308923.447
human_now: 2010-05-20 01:42:16.905284
Event: Newstate
Privilege: call,all
Timestamp: 1274308936.905284
Channel: SIP/GW1-000001bf
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: 37062646666
CallerIDName:...
2010 Nov 10
0
Problem with AMI
Hi to all.
I have a problem in the AMI. Sometimes the AMI don't generate the event
NewState when the exten of destiny is Ringing and sometimes don't show me
the callerid in this events.
The event NewState what i refer:
Event: Newstate
Privilege: call,all
Channel: SIP/17-00006fd6
ChannelState: 5
ChannelStateDesc: Ringing
CallerIDNum: 4191920902
CallerIDName: 4191920902
Uniqueid: 1289414204.29705
This guy is ok. But sometimes the event come like this:
Event: Newstate
Privilege: call,all
Channel: SIP/17-00006fd6
ChannelState: 5
ChannelStateDesc: Ringing
CallerIDNum:
CallerIDName:
Unique...
2013 Oct 25
2
Is this big of new modification in Asterisk Events Objects values ?
...hat time,
anyway
*Asterisk-12:*
Array
(
[Event] => ConfbridgeMute
[Privilege] => call,all
[Conference] => 42
[BridgeUniqueid] => 9f2ae5df-0749-4494-b8b7-12eb50dc765d
[BridgeType] => base
[BridgeTechnology] => softmix
[BridgeNumChannels] => 2
[Channel] => SIP/5000-00000006
[ChannelState] => 6
[ChannelStateDesc] => Up
*[CallerIDNum] => 5000*
[CallerIDName] => 5000
[ConnectedLineNum] => <unknown>
[ConnectedLineName] => <unknown>
[AccountCode] =>
[Context] => from-sip
[Exten] => 1234
[Priority] => 3
[Uniqueid] => 1382599433.22
)
Please ch...
2020 Jun 12
2
Send message to AMI from dialplan
Is it possible to simply send a message to appear as an AMI message/event,
from the dialplan? For example
exten =>123,1,ami(myEvent, param1, param2)
and in the AMI a message appears like:
Event: myEvent
Privilege: call,all
Channel: PJSIP/misspiggy-00000001
Uniqueid: 1368479157.3
ChannelState: 3
ChannelStateDesc: Up
CallerIDNum: 657-5309
CallerIDName: Miss Piggy
ConnectedLineName:
ConnectedLineNum:
AccountCode: Pork
Priority: 1
Exten: 123
Context: inbound
Parameter1: param1
Parameter2: param2
I'm thinking about ways that I can send messages from the dialplan to my...
2010 Oct 06
2
AMI getting related channels in Ringing state
...39;SIP/trunk-0000177f' => array
(
'Privilege' => 'Call',
'Channel' => 'SIP/trunk-0000177f',
'CallerIDNum' => 'trunk',
'CallerIDName' => '0031234567890',
'Accountcode' => '',
'ChannelState' => '4',
'ChannelStateDesc' => 'Ring',
'Context' => 'macro-dial-one',
'Extension' => 's',
'Priority' => '37',
'Seconds' => '3',
'Uniqueid' => '1286364290.84...
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
2016 Feb 10
2
Unexpected termination of the call when pick up (res_pjsip)
...s CONNECTING
[2016-02-10 22:58:20] DEBUG[31024] res_pjsip_session.c: Received response
[2016-02-10 22:58:20] DEBUG[31024] res_pjsip_session.c: Response is 200 OK
[2016-02-10 22:58:20] DEBUG[25553] manager.c: Examining AMI event:
Event: Newstate
Privilege: call,all
Channel: PJSIP/srv_d15140-00000255
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: 34
CallerIDName: <unknown>
ConnectedLineNum: 77777716
ConnectedLineName: admin
Language: ru
AccountCode: 9999
Context: ext-fromservers
Exten: 34
Priority: 1
Uniqueid: 1455134292.636
Linkedid: 1455134292.635
[2016-02-10 22:58:20] DEBUG[29343] res_pjsip_out...
2010 Oct 07
0
[PATCH 1/1] staging: hv: Rename camel cased functions in channel.c to lowercase
...05,7 @@ void GetChannelInfo(struct hv_device *device, struct hv_device_info *info)
if (!device->context)
return;
- VmbusChannelGetDebugInfo(device->context, &debugInfo);
+ vmbus_get_debug_info(device->context, &debugInfo);
info->ChannelId = debugInfo.RelId;
info->ChannelState = debugInfo.State;
diff --git a/drivers/staging/hv/channel_mgmt.c b/drivers/staging/hv/channel_mgmt.c
index 6ccf505..bdfd5af 100644
--- a/drivers/staging/hv/channel_mgmt.c
+++ b/drivers/staging/hv/channel_mgmt.c
@@ -172,7 +172,7 @@ void chn_cb_negotiate(void *context)
buflen = PAGE_SIZE;
buf =...
2010 Oct 07
0
[PATCH 1/1] staging: hv: Rename camel cased functions in channel.c to lowercase
...05,7 @@ void GetChannelInfo(struct hv_device *device, struct hv_device_info *info)
if (!device->context)
return;
- VmbusChannelGetDebugInfo(device->context, &debugInfo);
+ vmbus_get_debug_info(device->context, &debugInfo);
info->ChannelId = debugInfo.RelId;
info->ChannelState = debugInfo.State;
diff --git a/drivers/staging/hv/channel_mgmt.c b/drivers/staging/hv/channel_mgmt.c
index 6ccf505..bdfd5af 100644
--- a/drivers/staging/hv/channel_mgmt.c
+++ b/drivers/staging/hv/channel_mgmt.c
@@ -172,7 +172,7 @@ void chn_cb_negotiate(void *context)
buflen = PAGE_SIZE;
buf =...
2010 Sep 20
1
[PATCH 2/2] staging: hv: Remove camel cases from vmbus channel functions
...@@ void GetChannelInfo(struct hv_device *device, struct hv_device_info *info)
if (!device->context)
return;
- VmbusChannelGetDebugInfo(device->context, &debugInfo);
+ vmbuschannel_getdebuginfo(device->context, &debugInfo);
info->ChannelId = debugInfo.RelId;
info->ChannelState = debugInfo.State;
diff --git a/drivers/staging/hv/channel_mgmt.c b/drivers/staging/hv/channel_mgmt.c
index 6ccf505..55bc2a4 100644
--- a/drivers/staging/hv/channel_mgmt.c
+++ b/drivers/staging/hv/channel_mgmt.c
@@ -172,7 +172,7 @@ void chn_cb_negotiate(void *context)
buflen = PAGE_SIZE;
buf =...
2010 Sep 20
1
[PATCH 2/2] staging: hv: Remove camel cases from vmbus channel functions
...@@ void GetChannelInfo(struct hv_device *device, struct hv_device_info *info)
if (!device->context)
return;
- VmbusChannelGetDebugInfo(device->context, &debugInfo);
+ vmbuschannel_getdebuginfo(device->context, &debugInfo);
info->ChannelId = debugInfo.RelId;
info->ChannelState = debugInfo.State;
diff --git a/drivers/staging/hv/channel_mgmt.c b/drivers/staging/hv/channel_mgmt.c
index 6ccf505..55bc2a4 100644
--- a/drivers/staging/hv/channel_mgmt.c
+++ b/drivers/staging/hv/channel_mgmt.c
@@ -172,7 +172,7 @@ void chn_cb_negotiate(void *context)
buflen = PAGE_SIZE;
buf =...
2010 Nov 01
24
[PATCH 01/10] staging: hv: Convert camel cased struct fields in channel_mgmt.h to lower cases
...c
index 0d9f3a4..2bbf4ec 100644
--- a/drivers/staging/hv/vmbus_drv.c
+++ b/drivers/staging/hv/vmbus_drv.c
@@ -139,35 +139,35 @@ static void get_channel_info(struct hv_device *device,
vmbus_get_debug_info(device->channel, &debug_info);
- info->ChannelId = debug_info.RelId;
- info->ChannelState = debug_info.State;
- memcpy(&info->ChannelType, &debug_info.InterfaceType,
+ info->ChannelId = debug_info.relid;
+ info->ChannelState = debug_info.state;
+ memcpy(&info->ChannelType, &debug_info.interfacetype,
sizeof(struct hv_guid));
- memcpy(&info->Cha...
2010 Nov 01
24
[PATCH 01/10] staging: hv: Convert camel cased struct fields in channel_mgmt.h to lower cases
...c
index 0d9f3a4..2bbf4ec 100644
--- a/drivers/staging/hv/vmbus_drv.c
+++ b/drivers/staging/hv/vmbus_drv.c
@@ -139,35 +139,35 @@ static void get_channel_info(struct hv_device *device,
vmbus_get_debug_info(device->channel, &debug_info);
- info->ChannelId = debug_info.RelId;
- info->ChannelState = debug_info.State;
- memcpy(&info->ChannelType, &debug_info.InterfaceType,
+ info->ChannelId = debug_info.relid;
+ info->ChannelState = debug_info.state;
+ memcpy(&info->ChannelType, &debug_info.interfacetype,
sizeof(struct hv_guid));
- memcpy(&info->Cha...