Evento DialBegin "DestExten"

Dear

I’m trying to capture DestExten from DialBegin, but it always comes up empty.

As follows below, in other events of the same call, DestExten is filled in, but in DialBegin it is empty

Event: AgentCalled
Privilege: agent, all
Channel: SIP/9901-0000a060
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: 9901
CallerIDName: FACE BRIEFCASE
ConnectedLineNum: 9901
ConnectedLineName: FACE BRIEFCASE
language: en
AccountCode:
Context: transfer-queue
Length: 123
Priority: 2
Uniqueid: 1678829929.68194
Linkedid: 1678829929.68194
DestChannel: SIP/01-0000a063
DestChannelState: 0
DestChannelStateDesc: Down
DestCallerIDNum: 01
DestCallerIDName: ENTRY
DestConnectedLineNum: 9901
DestConnectedLineName: FACE BRIEFCASE
DestLanguage: en
DestAccountCode:
DestContext: hvseg
DestExten: 123
DestPriority: 1
DestUniqueid: 1678829929.68197
DestLinkedid: 1678829929.68194
Queue: hvseg
Interface: SIP/01
MemberName: SIP/01

Event: DialBegin
Privilege: call, all
Channel: SIP/9901-0000a060
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: 9901
CallerIDName: FACE BRIEFCASE
ConnectedLineNum: 9901
ConnectedLineName: FACE BRIEFCASE
language: en
AccountCode:
Context: transfer-queue
Length: 123
Priority: 2
Uniqueid: 1678829929.68194
Linkedid: 1678829929.68194
DestChannel: SIP/01-0000a063
DestChannelState: 0
DestChannelStateDesc: Down
DestCallerIDNum: 01
DestCallerIDName: ENTRY
DestConnectedLineNum:
DestConnectedLineName:
DestLanguage: en
DestAccountCode:
DestContext: hvseg
DestExten:
DestPriority: 1
DestUniqueid: 1678829929.68197
DestLinkedid: 1678829929.68194
DialString: SIP/01

I’m using asterisk version 18.

Can you say why this is, or is there some configuration to be done?

What do you expect it to contain? As far as I know it doesn’t contain anything useful. The only extension that is relevant in any way at this point is the one that is executing Dial, and that extension is recorded in the source channel. You may be confusing Asterisk extensions, with actual devices.

I would be more concerned about:

Which looks like it should be Exten: 123, i.e. the source channel extension.

Dear

I’m using asterisk 18.

When sending a call to the queue, in the manager I need the Connectedlinenum information in the DialBegin event to be filled in with the extension that works in the service queue.

It is currently coming with the status unknown.

I can even set the variable in the dialplan

exten => 123,n,Set(CONNECTEDLINE(num)=09)

However, I currently have 3 extensions in the queue, and in this case I would need to add the extension that answered in this variable.

Is there any way to do it through dialplan?

or

Is there any configuration that I need to do so that the Connectedlinenum is filled in the manager, with the extension that answered in the queue?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.