search for: astman

Displaying 20 results from an estimated 62 matches for "astman".

Did you mean: altman
2009 May 20
2
Manager ExtensionState function
...call via SIP or IAX2), using the following piece of code however it always returns -1 on all the extensions (valid/invalid). Am i missing something ? Any help. Thanks ----------------------------------- #!/usr/bin/perl 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('DEFA...
2004 Sep 16
3
Creating conference calls from within Astman.
Dear All, I have a requirement to 'originate' a number of calls to various external users from within a conference room, so that the end users does not pay for the call. I know that within Astman I can define an extension and then originate the call from that extension. Can I define a conference room (how would I configure that on astman? What channel would it use?) and then generate a number of calls from within the conference room? Thanks for all your help. Shad Mortazavi --------------...
2007 Feb 01
2
make: expand.c:489: allocated_variable_append: Assertion `current_variable_set_list->next != 0' failed.
...uggestions ? make[2]: Leaving directory `/usr/local/src/asterisk-1.4.0/menuselect' make[1]: Leaving directory `/usr/local/src/asterisk-1.4.0/menuselect' Generating input for menuselect ... menuselect/menuselect --check-deps menuselect.makeopts Generating embedded module rules ... [CC] astman.c -> astman.o [CC] md5.c -> md5.o [LD] astman.o md5.o -> astman [CC] smsq.c -> smsq.o [CC] strcompat.c -> strcompat.o [LD] smsq.o strcompat.o -> smsq [CC] stereorize.c -> stereorize.o [CC] frame.c -> frame.o [LD] stereorize.o frame.o -> stereorize...
2003 Nov 05
2
Need info on Gastman/Astman
Has anyone used Gastman/Astman successfully? I have it up and running (Gastman win32), but have a problem with the creation of end stations on the map. I'm not sure of the format of the extension to use when creating a end station icon. Services like Conference bridge and Musichonhold seem to work ok (I use 555@main...
2013 May 11
1
AMI Originate issue
...;s Response, and on the other hand Asterisk CLI say "fwrite() returned error: Broken pipe" Please suggest me what is wrong. Muhammad Faheem ### my originate code block ... ----------------------------------------------------------------------------------------------- # ami-script.pl my $astman = Asterisk::AMI->new(PeerAddr => '127.0.0.1', PeerPort => '5038', Username => 'faheem', Secret => 'secret'); die "Unable to connect to asterisk" unless ($astman); my $resp_code = $astman->sen...
2012 Mar 01
1
using AMI and Telnet to place calls
Hello, I am using a perl script to pull call info from a DB and place calls via telnet and AMI, all on local machine of course. My problem is that I need to capture any response from the carier, such as this taht appears in the CLI: [Mar 1 12:55:50] == Using SIP RTP CoS mark 5 [Mar 1 12:55:50] -- Got SIP response 503 "No Circuit Available" back from xxx.xxx.xxx.xxx:5060 [Mar
2003 May 22
1
astman
has any body considered using astman/gastman to show a) sip/iax etc registry status with other * b) manage multiple * boxes would this be any use, i was just thinking if some tech support has to handle multiple * for one organization, it may be worthwhile to have mutiple * boxen become part of one REALM and manage that realm, or ma...
2005 Feb 20
10
HELP NEEDED! - Asterisk GUI
Hello, I am trying to setup an Asterisk GUI with the help of astman(please visit http://astman.sourceforge.net/am-user-guide.html). I have installed astman and currently assessing my GUI using; http://ipaddress-of-asteriskbox/cgi-perl/am-main.pl I am trying to get the menu options in my GUI to work but to no avail. Currently my parameters are set to; Asterisk In...
2007 Nov 28
2
Billing/Call Control engine : AGI scripts/ AstMan API
...ew call. 2. MySQL connections on every instance of the PHP AGI script. (I am not too sure, if connections can be maintained across processes, am no PHP guru. I think, if I write in C/C++ can use shared memory for maintaining the connection). So, to overcome these issues, I was thinking of using AstMan APIs along with astmanproxy, with the setup being something like this : Asterisk <---------> astmanproxy <-----------------> Billing Engine(control/access) Has anyone ever tried this? The one seriously big work with this approach would be to have an FSM built into my billing engine...
2003 May 14
0
(g)astman autodetecting extensions?
hi all is it hard to write an autodetect-engine for (g)astman so we can get a list of different extensions? such as using 'sip show peers' 'mgcp show endpoints' etc as the base layout? thanks roy -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop w...
2005 Jul 18
0
why $cdr{'CALLERID'} and $cdr{'DNID'} are empty in perl agi connected with asterisk manager
...syslog('notice', "RADIUS accounting for Asterisk started"); } # Install signall handler # $SIG{INT} = \&safe_exit; $SIG{QUIT} = \&safe_exit; $SIG{TERM} = \&safe_exit; $SIG{HUP} = \&load_config; # Drop privileges # setuid($uid); $< = $uid; $> = $uid; 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...
2011 Jun 16
1
Web based call back
Hi, I am looking for a simple solution to do this. I wish to have the user to enter their preferred method of connection i.e. for the cheapest solution to their desktop phone or mobile phone, then plan callfile based on the number that user provided and dial to the user. Any suggestions? CK -------------- next part -------------- An HTML attachment was scrubbed... URL:
2010 Mar 21
1
Invalid Makefiles to install asterisk with ldap
...URCE-Wall-c-o menuselect_stub.o menuselect_stub.c gcc-o menuselect menuselect.o strcompat.o menuselect_stub.o mxml / libmxml.a make [1]: Leaving directory `/ root/asterisk-1.6.0.18/menuselect" menuselect / menuselect - check-deps menuselect.makeopts Generating embedded module rules ... [CC] astman.c -> astman.o [CC] md5.c -> md5.o [LD] astman.o md5.o -> Astman / usr / bin / ld: can not find-lldap collect2: ld returned 1 exit status make [1]: *** [Astman] Error 1 make: *** [utils] Error 2 I need him to have another makefiles but one I get I think it is not good. For the link I...
2007 Mar 01
1
build rpm fails
...it. I had a fair bit of success with the ATrpms binaries (Zaptel worked but asterisk failed to startup because it couldn't find the speex modules). I am trying to thus recompile the asterisk rpm for CentOS 4.4 with the least amounts of external dependencies. make rpm gives me an error saying astman could not be found. How do I build astman? Has anyone succeeded making rpm on CentOS? Any feedback is appreciated. -- "I never look back darling, it distracts from the now", Edna Mode (The Incredibles)
2003 Feb 23
1
Build fails in building asterisk
...fails in the "make asterisk" section, here is the log of the final steps it performed. All help appreciated... Thanks and Regards Ajit ============================================ make[1]: Leaving directory `/usr/src/asterisk/cdr' make[1]: Entering directory `/usr/src/asterisk/astman' rm -f *.o astman make[1]: Leaving directory `/usr/src/asterisk/astman' rm -f *.o *.so asterisk rm -f build.h rm -f ast_expr.c make -C editline clean make[1]: Entering directory `/usr/src/asterisk/editline' make[1]: *** No rule to make target `clean'. Stop. make[1]: Leaving...
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...
2004 Jan 20
3
Still problems at compiling
...an error. I have attached the sysout log below. Any hint and help highly appreciated. What is wrong. Franz ---- the sysout log during "make clean" and "make install" of asterisk ----- linux:/usr/src/asterisk # make clean for x in res channels pbx apps codecs formats agi cdr astman stdtime; do make -C $x clean || exit 1 ; done make[1]: Entering directory `/usr/src/asterisk/res' rm -f *.so *.o .depend make[1]: Leaving directory `/usr/src/asterisk/res' make[1]: Entering directory `/usr/src/asterisk/channels' rm -f *.so *.o .depend rm -f busy.h ringtone.h gentone gen...
2005 Feb 18
5
Asterisk GUI
Hello, I am trying to setup an Asterisk GUI with the help of astman(please visit http://astman.sourceforge.net/am-user-guide.html). I have installed astman and currently assessing my GUI using; http://ipaddress-of-asteriskbox/cgi-perl/am-main.pl I am trying to get the menu options in my GUI to work but to no avail. Currently my parameters are set to; Asterisk In...
2005 Feb 01
2
X100P not hanging up...
...orwarding on my phone and a call comes in it gets redirected to my cell and everything is apparently working. The problem is that when we hang up both Zap interfaces (the one where the original call came from and the one that dialed my cel phone) remain connected. I have to manually hang up using astman or FOP. I have waited up to five minutes and the zap channels will not hang up by themselves. Any idea? -- Carlos Chavez Director de Tecnolog?a Telecomunicaciones Abiertas de M?xico S.A. de C.V.
2004 Apr 26
3
Compiling asterisk
I got the error below while compiling asterisk. Please offer me some help. hubert for x in res channels pbx apps codecs formats agi cdr astman stdtime; do make -C $x depend || exit 1 ; done make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/res' make[1]: Nothing to be done for `depend'. make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/res' make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/channels'...