search for: setcallback

Displaying 13 results from an estimated 13 matches for "setcallback".

2011 Jul 18
0
[PATCH node] fix ipv6 support in dns/ntp callbacks
...uot;: @@ -708,16 +738,16 @@ class NodeConfigScreen(): dns_grid.setField(Label("DNS Server 2: "), 0, 1, anchorLeft = 1) dns_grid.setField(self.dns_host1, 1, 0, anchorLeft = 1) dns_grid.setField(self.dns_host2, 1, 1, anchorLeft = 1) - self.dns_host1.setCallback(self.valid_fqdn_or_ipv4) - self.dns_host2.setCallback(self.valid_fqdn_or_ipv4) grid.setField(Label(" "), 0, 4) grid.setField(dns_grid, 0, 6, anchorLeft =1) grid.setField(Label(" "), 0, 7) ntp_grid = Grid(2,2) self...
2009 May 20
2
Manager ExtensionState function
...rl use Asterisk::Manager; use lib './lib', '../lib'; $|++; my $astman = new Asterisk::Manager; $astman->user('mark'); $astman->secret('mark'); $astman->host('127.0.0.1'); $astman->connect || die $astman->error . "\n"; $astman->setcallback('Hangup', \&hangup_callback); $astman->setcallback('DEFAULT', \&default_callback); my %out = $astman->sendcommand( Action => 'ExtensionState', Context => demo1,...
2005 Jul 26
1
Perl AGI
...before finishing the entire AGI flow), I don't get the MySQL row created. I'm wondering if there is a way using AGI or the Perl AGI library to catch the event of a call drop or hangup so I create the MySQL row and properly close all database connections. I tried using the $AGI- >setcallback() and putting code in the referenced callback function but that doesn't seem to do it. Am I missing something? Thanks, Waldo
2011 Aug 11
0
[PATCH] map nics-> bridges correctly in network pages, when cancelling nic configuration return to network page
...nic_detail_grid.setField(Label("Interface: "), 0, 1, anchorLeft = 1, padding=(0,0,1,0)) nic_detail_grid.setField(Label("Protocol: "), 0, 2, anchorLeft = 1, padding=(0,0,1,0)) @@ -901,28 +901,24 @@ class NodeConfigScreen(): self.ipv4_netdevmask.setCallback(self.ipv4_netmask_callback) self.ipv4_netdevgateway = Entry(16, "", scroll = 0) self.ipv4_netdevgateway.setCallback(self.ipv4_gateway_callback) + if not dev_bridge is None: + dev = dev_bridge if "OVIRT_IP_ADDRESS" in OVIRT_V...
2011 Aug 03
0
[PATCH] display ipv6 address in networking details page, also fix ipv6 netmask configurations.
...ip(),dev_bootproto.strip(),ipv4_addr.strip()) status_text.strip() networking = TextboxReflowed(32, status_text, maxHeight=10) networking.setText(status_text) @@ -975,6 +979,32 @@ class NodeConfigScreen(): self.ipv6_netdevmask.setCallback(self.ipv6_netmask_callback) self.ipv6_netdevgateway = Entry(39, "", scroll = 0) self.ipv6_netdevgateway.setCallback(self.ipv6_gateway_callback) + if "OVIRT_IPV6_ADDRESS" in OVIRT_VARS: + self.ipv6_netdevip.set(OVIRT_VARS["OVIRT_IP...
2011 Aug 03
1
[PATCH] display ipv6 address in networking details page, also fix ipv6 netmask configurations
...ip(),dev_bootproto.strip(),ipv4_addr.strip()) status_text.strip() networking = TextboxReflowed(32, status_text, maxHeight=10) networking.setText(status_text) @@ -975,6 +981,32 @@ class NodeConfigScreen(): self.ipv6_netdevmask.setCallback(self.ipv6_netmask_callback) self.ipv6_netdevgateway = Entry(39, "", scroll = 0) self.ipv6_netdevgateway.setCallback(self.ipv6_gateway_callback) + if "OVIRT_IPV6_ADDRESS" in OVIRT_VARS: + self.ipv6_netdevip.set(OVIRT_VARS["OVIRT_IP...
2009 Jul 31
0
New package for interactive brushing/cropping/deleting points from RGL : sculpt3d v 0.2
...nce interesting parts of the original data set have been isolated, a call to sculpt3d.current() or sculpt3d.selected() will return a logical vector, indicating which of the original data points are still visible or selected. It is also possible to set up additional callback functions with sculpt3d.setCallback(), which can enable brushing/filtering across multiple views. There are some warnings/issues with different OS platforms, see the documentation for details. Best, -Justin -- Justin Donaldson PhD Candidate, Informatics Indiana University http://www.scwn.net aim: iujjd [[alternative HTML versi...
2009 Jul 31
0
New package for interactive brushing/cropping/deleting points from RGL : sculpt3d v 0.2
...nce interesting parts of the original data set have been isolated, a call to sculpt3d.current() or sculpt3d.selected() will return a logical vector, indicating which of the original data points are still visible or selected. It is also possible to set up additional callback functions with sculpt3d.setCallback(), which can enable brushing/filtering across multiple views. There are some warnings/issues with different OS platforms, see the documentation for details. Best, -Justin -- Justin Donaldson PhD Candidate, Informatics Indiana University http://www.scwn.net aim: iujjd [[alternative HTML versi...
2003 Oct 29
1
AGI question or something
Sorry for asking this question again but before I blow 100 dollars on a X100P I need to know this info: So does "SET EXTENSION <new extension>" allow for you to set which extension the rest of the call will occur over? So if a call comes into the switch and I could make the AGI script check the DID or DNIS which is really in the variable agi_dnid? After that I can do a database
2005 Jul 13
0
how to connect to asterisk via perl agi
hello i am getting this error while trying to run ast-rad-acc.pl my $ast_connected = 1; while( 1 ) { if( $astman->connect ) { $ast_connected = 1; syslog('info', 'Connected to Asterisk!'); $astman->setcallback('DEFAULT', \&status_callback); eval { $astman->eventloop; }; print STDERR "Connected To Asterisk\n"; } else { syslog('err', 'Could not connect to Asterisk!') if $ast_connected; print STDERR "could not Connect To Asterisk\n"; $ast_connect...
2005 Aug 17
1
AGI SCRIPTS USING PERL NEED SOME KIND OF COMPILATION TO WORK WITH *
...MPILATION TO WORK WITH *???? This simple script is not working. What can I do to make this interact with *????? #!/usr/bin/perl # # use Asterisk::AGI; $AGI = new Asterisk::AGI; my %input = $AGI->ReadParse(); my $tests = 0; my $pass = 0; my $fail = 0; #setup callback $AGI->setcallback(\&mycallback); print STDERR "AGI Environment Dump:\n"; foreach $i (sort keys %input) { print STDERR " -- $i = $input{$i}\n"; } Thank in advance. J?natas Amorim
2005 Jul 18
0
why $cdr{'CALLERID'} and $cdr{'DNID'} are empty in perl agi connected with asterisk manager
...my $astman = new Asterisk::Manager; $astman->user($ast_username); $astman->secret($ast_password); $astman->host($ast_hostname); my $ast_connected = 1; while( 1 ) { if( $astman->connect ) { $ast_connected = 1; syslog('info', 'Connected to Asterisk!'); $astman->setcallback('DEFAULT', \&status_callback); eval { $astman->eventloop; }; } else { syslog('err', 'Could not connect to Asterisk!') if $ast_connected; $ast_connected = 0; } sleep 1; } sub status_callback { my (%event) = @_; return unless defined(%event); forea...
2020 Oct 09
0
Wine release 5.19
...mfplat: Added MFBeginRegisterWorkQueueWithMMCSS(). mf/evr: Partially implement InitializeRenderer(). mf/evr: Provide device manager to the mixer. mf/evr: Add IMFGetService stub for the streams. mf/evr: Create sample allocator for each stream. evr/allocator: Implement SetCallback(). evr/allocator: Implement GetFreeSampleCount(). comctl32/ipaddress: Select field contents on IPM_SETFOCUS. comctl32/ipaddress: Fix IPM_SETFOCUS return value. comctl32/ipaddress: Fix IPM_CLEARADDRESS return value. comctl32/tests: Fix loop bounds. mf/evr: Impleme...