473,657 Members | 2,266 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

AGI in asterisk Asynchronous agi

2 New Member
how to call php agi in asyncornce agi

thanks in advance...
Regards,
Chiranjeevi.
Feb 21 '13 #1
2 2991
Dormilich
8,658 Recognized Expert Moderator Expert
what is AGI?
Feb 22 '13 #2
chiranjeevi
2 New Member
asterisk gateway interface...
here is my prb
How can i use php(.php) and perl(.pl) files in asterisk Asynchronous agi..

ex : below is the dial plan for reference

[outgoing]
exten => _X.,1,AGI(print .php)
exten => _X.,2,Playback( prompt6)
exten => _X.,3,Hangup

output i m getting in asterisk like below

== Using SIP RTP CoS mark 5
-- Executing [11@outgoing:1] AGI("SIP/con-b43170a0", "print.php" ) in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/print.php
== print.php: Failed to execute '/var/lib/asterisk/agi-bin/print.php': Exec format error
[Feb 22 12:43:08] WARNING[24368]: res_agi.c:2788 run_agi: unable to send SIGHUP to AGI process 24369: No such process
-- Executing [11@outgoing:2] Playback("SIP/con-b43170a0", "prompt6") in new stack
-- <SIP/con-b43170a0> Playing 'prompt6.slin' (language 'en')

Please advise what is my nxt step to get my output has i want.


Thanks&Regards,
Chiranjeevi.
Feb 22 '13 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
4129
by: sarmin | last post by:
Hi Pythoners... It seems to me the Asterisk (*) sign in python means many things... if a python code line looks like this: def__init__(self, func, *param): bla bla bla... and then u have something like this: func(*param)
1
2543
by: sarmin kho | last post by:
Hi Pythoners... I am definitely confused with the use of asterisk (*) sign in python... I quoted the following code from 'python cookbook' text book page 223 about 'running functions in the future'... it says: def __init__(self,func, *param): bla bla bla... then it says:
2
2670
by: Marco | last post by:
Hi all, I saw the following line in a C source. what's the asterisk * mean? Thank you! fprintf(conn_out, "%.*s\r\n", (int)(strlen(buf + 1) - 1), buf + 1);
3
1463
by: Robert M | last post by:
Hello, I am having a problem when I enter a new row using data grid footer and the data contains asterisk ('). I can use replace function, and it will not crash the program but it shows 2 asterisk (' '). Actually it does not happen in all footers and I can not find what is the difference, unless I turn some property true... Help is very much appreciated Thank u
2
2606
by: Evan | last post by:
I am trying to put an asterisk in the Label text property but the asterisk doesn't show up in the correct place. If I enter "* hello" in the text property (using the designer property pages) the label is displayed as "hello *". If I enter "3 * hello" the label is displayed as "hello * 3". How I get the asterisk to display in the proper location? Thanks in advance.
4
3650
by: deepee | last post by:
I have a drop down box in HTML using SELECT and OPTION tags: <select title="Choose a number" onchange="obscure()" name="Digit1" ID="Digit1"> <OPTION VALUE="">&nbsp;</OPTION> <OPTION VALUE="0">&nbsp;0</OPTION> <OPTION VALUE="1">&nbsp;1</OPTION> <OPTION VALUE="2">&nbsp;2</OPTION> <OPTION VALUE="3">&nbsp;3</OPTION> </select>
0
1750
by: Bishoy George | last post by:
Hi, I have a asp.net 2.0 web application. I want to implement the asynchronous model through http handler in web.config ------------------------------------------------------------------------------------------------------------------------- My web.config file: ---------------------
0
1499
by: selvarani | last post by:
Hi all, I am a newbie to Asterisk and PHP. I have installed wamp5_1.4.3 and working with PHP on this. I would like to write a PHP script to interact with asterisk. Where are the Manager API's used. How come the PHP script and Asterisk Manager API's interact? What should the script do exactly? Anyone help me out. Thanks in advance.
1
18995
by: striker07 | last post by:
Someone help me how can i display a diamond shaped asterisk correctly pls. correct my program this is my code: Dim ctr, space, asterisk As Integer For ctr = 1 To 9 Step 2 For space = (9 - 2) / 2 To 0 LstDisplay.AddItem (" ") Next For asterisk = 1 To ctr
2
9144
by: Coll | last post by:
I'm working with a form & a query that allows the user to filter the data using several combo boxes. One of the combo boxes allows them to select the first letter of a a particular field, and it will use that first letter in the criteria of the query to include only records with a value beginning with that letter. The tricky part is that one of the possible values for that field is - *.* - not values I would have chosen, but they are...
0
8407
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8319
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8739
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8512
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7347
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5638
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2739
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1969
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1732
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.