Displaying 3 results from an estimated 3 matches for "calle1324".
2009 Jan 21
0
Playfile to both legs of call
...=> 1321,n,Hangup()
exten => 1324,1,Answer()
exten => 1324,n,NoOp(Just got '${ActionID}')
exten => 1324,n,ChanSpy(${WhoHear},qW)
exten => 1324,n,Hangup()
And this action:
Action: Originate
Channel: Local/1321
Exten: 1324
Context: some-context
Priority: 1
Variable: ActionID=callE1324
Variable: WhoHear=Agent/1001
Variable: WhatToPlay=dont-know-who-sent
ActionID: callE1324
Async: true
Action: Originate
Channel: Local/1321
Exten: 1324
Context: some-context
Priority: 1
Variable: ActionID=callE1324
Variable: WhoHear=Other-channel
Variable: WhatToPlay=dont-know-who-sent
ActionID: ca...
2009 Feb 04
0
Stopping chanspy
...stepping through the code.
My situation is that I have an agent logged in but not in any queue. I use
an AMI packet like this:
Action: Originate
Channel: Agent/1001
Exten: DoChanMon
Context: cfmc_cdi_info
Priority: 1
Variable: CfMC_ActionID=callE1334
Variable: CfMC_WhoHear=SIP/dickenson
ActionID: callE1324
Async: true
to connect to an extension like this:
exten => DoChanMon,1,Answer()
exten => DoChanMon,n,NoOp(Just got '${CfMC_ActionID}')
exten => DoChanMon,n,ChanSpy(${CfMC_WhoHear},q)
exten => DoChanMon,n,Hangup()
and I would like to be able to make the agent available again...
2009 Feb 11
0
ChanSpy problem
...9;)
exten => do_monitor,n,ChanSpy(${CfMC_WhoHear},qX)
exten => do_monitor,n,Hangup()
I use an AMI packet like this:
Action: Originate
Channel: Agent/1001
Exten: do_monitor
Context: cfmc_cdi_private
Priority: 1
Variable: CfMC_ActionID=callE1334
Variable: CfMC_WhoHear=SIP/dickenson
ActionID: callE1324
Async: true
It seems as if the X option to the ChanSpy application causes asterisk to
get into a loop executing priorities 1-3 of the extension until I press a 1
to go to extension 1 in the same context as the do_monitor extension is in.
While asterisk is in this loop I hear no audio from the sp...