similar to: Manager API !!!!!!!!!

Displaying 20 results from an estimated 1000 matches similar to: "Manager API !!!!!!!!!"

2005 Dec 28
2
PHP Manager
Hi all, I have a small problem to execute Asterisk Commands in Asterisk Manager using PHP. I am able to run all Asterisk Manager command but the problem is comming with asterisk command. here is the code i am trying to run. <?php $socket = fsockopen("localhost","5038", $errno, $errstr, $timeout); fputs($socket, "Action: Login\r\n"); fputs($socket,
2012 Aug 26
1
One leg in a conference and adjusting stream volume of other leg
Hi all, I'm looking for some serious help. :) I couldn't find a better description for my problem... I think it is quite complex! Here's what I would like to achieve: A SIP caller dials into to my Asterisk 10. He will automatically listen to a specific MP3 stream. Other SIP callers dial also into my Asterisk. They all will automatically listen to the same MP3 stream. All
2005 Jul 01
1
astmanproxy
Hello, I want to recieve the output from astmanproxy in a php script. Is that possible ? I made a simple php script: <PRE> <?php $socket = fsockopen("127.0.0.1","1234", $errno, $errstr, $timeout); fputs($socket, "Action: Login\r\n"); fputs($socket, "UserName: xxx\r\n"); fputs($socket, "Secret: xxx\r\n\r\n"); fputs($socket, "Action:
2011 Sep 02
5
how to add-edit-delete entery into asterisk conf files
Hi list, I want ot do basic work (add-edit-delete) into asterisk configuration files, like sip.conf, manager.conf,musiconhold.conf etc. Please guide me how to configure all these files from from AMI connection. I am able to login into AMI from Login action but I want to do more task in to it. *AMI login:- * *login.php* <?php $socket = fsockopen("127.0.0.1","5038",
2006 May 23
2
Outband call from php script
Hello, I am trying to make the following... Can someone tell me if it is possible? Is someone willing to do it from an asterisk@home box? 1. I send an http request to asterisk@home box. Ex: http://asterisk@home/call.php?phone=0033102030405&code=12345 2. Application will call phone number 0033102030405 (using a sip provider) 3. Application will play a pre-recorded voice prompt 4. Application
2003 Nov 02
3
PHP Manager examples
Anyone have any example scripts in PHP that connect to the manager? I'm not really a much of a programmer so I could use boost. Once I can figure out how to get it to login properly, I'll be ok from there. Thanks, Kevin _____________________________________________________________ Are you a Techie? Get Your Free Tech Email Address Now! Visit http://www.TechEmail.com
2004 Nov 24
3
Grandstream Firmware 1.0.5.16 Attended Transfer
I've searched for a few days now without finding an answer. The release notes for version 1.0.5.16 of the Grandstream firmware says it supports attended transfer using replace but the docs haven't been updated so I can't work out how to enable it, or whether it should Just Work. I'm currently using the # attended transfer patch for * but would like to get back to using the
2005 Sep 06
4
PHP and ASterisk Manager
Guys, is anybody using PHP sockets to connect to the Manager and send command like "show voicemail users" for example or any other? My question is, how to parse the return info in a way that can be shown back to the user via web (discard all the manager responses not needed)? Thx in advance for any help you can provide.
2011 Aug 01
1
Problems with AMI connections (Asterisk 1.8.3.2)
Hi guys, I hope you could help me. I am trying to get connected through AMI but something is not working. Both php code and manager.conf were working well in asterisk 1.4 1. Sometimes it gets connected and sometimes it doesn't: == Connect attempt from '192.168.25.241' unable to authenticate == Connect attempt from '192.168.25.241' unable to authenticate == Manager
2016 Oct 26
2
Problem setting up ssl connection
Hello I keep getting the following error when trying to connect to the Asterisk server using AMI : $socket = fsockopen("tls://11.22.33.44","5039", $errno, $errstr, 5); Erorr on CLI : [Oct 26 14:38:19] ERROR[2992]: tcptls.c:609 handle_tcptls_connection: Problem setting up ssl connection: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca [Oct 26 14:38:19]
2007 Dec 06
3
XenApi
I originally posted this to the xenapi mailing list but i dont think many are on there... here''s my question. My first attempt at this, trying to get php to interface with /var/run/xend/xen-api.sock (or even 127.0.0.1:9363 for that matter). I can make a connection to both the unix socket and the inet socket and write/read data. The problem is i always get the same responce back, also
2004 Dec 19
4
SMS - how to send one
I've read quite a bit in the older mailing list posts and the wiki but I'm missing some simple point. 1) What is required to send an SMS to a mobile outside the office given: Channel: ZAP/1 send it to $SMS_RECIPIENT (which includes the final "extra" digit) via $SMS_CENTER=the national message center server for sending messages $MESSAGE= the message text How is the .call file
2010 Jun 13
0
Asterisk AMI
Hi All, Been having problem using the AMI, i've got this PHP script: $socket = fsockopen("1.2.3.4","5038", $errno, $errstr, $timeout); fputs($socket, "Action: Login\r\n"); fputs($socket, "UserName: amiadmin\r\n"); fputs($socket, "Secret: amiadminpassword\r\n\r\n"); fputs($socket, "Action: Command\r\n"); fputs($socket,
2007 May 05
2
Manager API Output
Hi, Is there any way that I can store my manager API output that is: My question is that is there any why using that I can get the QueueStatus and store the result in some text file for further processing. <?php $strHost = "127.0.0.1"; $strUser = "cron"; $strSecret = "1234";
2005 Sep 13
1
populating asterisk realtime tables from configfiles
Here is my file to parse and load extensions. No wise cracks about my code.... DB.php is the Pear DB module. (pear.php.net) <?php include('DB.php'); $db_host = ''; $db_name = ''; $db_login = ''; $db_pass = ''; $db_table = 'extensions_table'; define(DBINFO,"mysql://$db_login:$db_pass@$db_host/$db_name"); $db =
2003 Dec 29
1
Agent setup
Dear Group, I have been successful in setting up the Agents, queues and getting agents to log in. Is there a way that I could configure the system so that the agent is called back. i.e. the agent logs into the system, a call is destined for them and their phone rings. If some one has this setup I would be very interested in hearing from them. Warm Regards and Thanks --------------- Shad
2005 Jul 09
0
About the using of astmanproxy
Hi,I met the same problem as this mail, http://www.mail-archive.com/asterisk-users@lists.digium.com/msg101451.html ******************************************************* Hello,I want to recieve the output from astmanproxy in a php script.Is that possible ?I made a simple php script:<PRE><?php$socket = fsockopen("127.0.0.1","1234", $errno, $errstr,
2006 Dec 20
0
[790] trunk/wxruby2/swig/classes: Added TextUrlEvent class and EvtHandler mapping
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2013 Feb 23
0
click2call with AMI?
Hi, I have a PHP code with AMI to using in click2call system. here is my code: $user = "usernamr"; $secret = "secret"; $channel = 'SIP/' . $sip; $context = "from-internal"; $waitTime = "20"; $timeout = 20000; $priority = "1"; $maxRetry = "2"; $pos = strpos($number,
2008 Jun 28
0
AMI extenstion state
Hi, I would like to get the status of asterisk extension with my php program. *My program as follows,* <html> <!--<meta http-equiv="refresh" content="1" />--> <?php $fp = fsockopen("xxx.xxx.xxx.xxx", 5038, $errno, $errstr, 30); if (!$fp) { echo "$errstr ($errno)<br />\n"; } else { $out = "Action: Login\r\n"; $out