search for: cfmc_cdi_info

Displaying 2 results from an estimated 2 matches for "cfmc_cdi_info".

2009 Jan 28
1
Scope of variable
...1322,n(NOAMD),Wait(1) exten => 1322,n,UserEvent(E1322-1,${CfMC_ActionID}=${CHANNEL} & ${CfMC_AgentToUse} & ${CfMC_AMDValue}) exten => 1322,n,Playback(tt-weasels) exten => 1322,n,Hangup() When this executes I see these two line on the Asterisk CLI screen: Set("Local/1321 at cfmc_cdi_info-df3d,1", "CfMC_AMDValue="NotChecked"") Set("IAX2/sfserver3-16384", "CfMC_AMDValue = MACHINE") I am not sure why in the same extension it is setting two different variables named CfMC_AMDValue. This then causes the following problem. UserEvent("IAX...
2009 Feb 04
0
Stopping chanspy
...ionally there must be some tricks to debug this code as there is timing going on that gets messed up while 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_WhoHe...