From shiemstra at h2.com Tue Sep 17 12:32:04 2013 From: shiemstra at h2.com (Scott Hiemstra) Date: Tue, 17 Sep 2013 12:32:04 -0400 Subject: Javascript Message-ID: <073C6B4DF1DDC8498449BE3F9575666D0479EC9BE438@horus.h2.com> We run an ad server which we use to serve out flash, image and text ads for some of our clients; the ads are delivered via a javascript snippet. I know how to test end to end functionality of a normal PHP/Perl type process using expect but I need to be able to actually execute javascript and then expect something on that page. Any recommendations on how to actually execute the javascript on a page and read the page output as something I can process through Argus? I've been looking into running it through links but the javascript support seems to be so minimal that I can't even get it to load the remote ad. Thanks in advance, Scott From shiemstra at h2.com Tue Sep 17 13:25:33 2013 From: shiemstra at h2.com (Scott Hiemstra) Date: Tue, 17 Sep 2013 13:25:33 -0400 Subject: Javascript In-Reply-To: <073C6B4DF1DDC8498449BE3F9575666D0479EC9BE438@horus.h2.com> References: <073C6B4DF1DDC8498449BE3F9575666D0479EC9BE438@horus.h2.com> Message-ID: <073C6B4DF1DDC8498449BE3F9575666D0479EC9BE439@horus.h2.com> Disregard, we figured out to make the adserver deliver a text ad without the javascript wrapper. Scott -----Original Message----- From: arguslist-bounces at tcp4me.com [mailto:arguslist-bounces at tcp4me.com] On Behalf Of Scott Hiemstra Sent: Tuesday, September 17, 2013 12:32 PM To: Discussion about Argus (arguslist at tcp4me.com) Subject: Javascript We run an ad server which we use to serve out flash, image and text ads for some of our clients; the ads are delivered via a javascript snippet. I know how to test end to end functionality of a normal PHP/Perl type process using expect but I need to be able to actually execute javascript and then expect something on that page. Any recommendations on how to actually execute the javascript on a page and read the page output as something I can process through Argus? I've been looking into running it through links but the javascript support seems to be so minimal that I can't even get it to load the remote ad. Thanks in advance, Scott _______________________________________________ http://argus.tcp4me.com/ Arguslist at tcp4me.com http://www.tcp4me.com/mailman/listinfo/arguslist From sodidi4 at yahoo.fr Tue Sep 24 13:11:08 2013 From: sodidi4 at yahoo.fr (sokhna diouf) Date: Tue, 24 Sep 2013 18:11:08 +0100 (BST) Subject: Argus Notifications Help (%O{param}) Message-ID: <1380042668.57757.YahooMailNeo@web172202.mail.ir2.yahoo.com> Hello, ? Excuse for my bad english You had to use ??label?? in parameters like %O{label} Service TCP/Asterisk { ??????????????? # make sure PRI is up ??????????????? cmd:??????????? pri show span 2 ??????????????? expect:???????? Provisioned, Up, Active ??????????????? label:Span2 ?of ?192.168.2.3 ??????? } ? And ? Method "mail" { ??????? send:?????????? To: %R\n\ ??????? From: %F\n\ ??????? Content-Type: text/plain; charset=utf-8\n\ ??????? Subject: Asterisk%Y\n\n\ ??????? %O{label}\n%S\n } ? Best regards