search for: currentchannel

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

Did you mean: currentchannel1
2006 Jan 11
0
Asterisk Manager API and ZapBarge or ChanSpy
...quot;Local\/" . $exten; if ($line =~ m/$pattern/i) { print $line; # start monitor $recording = $timestamp . "-" . $uniqueid; print $recording; $telnet->print("Action: Monitor\nMix: 1\nFormat: wav49\nChannel: " . $currentChannel ."\nFile: " . $recording . "\n\n"); $telnet->waitfor('/Response: Success/'); } } What I think is happening is that a call is originated for the 8159 extension, which then executes the dialplan zapbarge on in process zap channel call, then the...
2009 Nov 25
1
Channel Variable
Hi I have been using the CHANNEL variable as a way of checking if a user is allowed to make outgoing calls, and what their source caller ID should be (these values are in a database). This works all of the time with SIP and most of the time with IAX, however sometimes with IAX the channel variable seems to be wrong. I have been using Zoiper as my IAX client and Asterisk 1.6.2.0-rc6. For the sake