* You are viewing the archive for September 24th, 2011

Facebook To Launch In-Browser Video Chat With Skype

“Facebook will be launching a new in-browser video chat application. ‘The product has been built on Skype and will include a desktop component. It’s not clear to me whether that means it will just work if a user has Skype already installed on the computer, or if additional software will need to be downloaded even if the user already uses Skype. But it’s clear that there’s very deep integration between the products, and from the user’s perspective, the product will be an in-browser experience.’”

Asynchronous AGI Problems (Asterisk 1.8.7.0), ubuntu-server

Hi Everyone,

I’ve been trying to get asynchronous AGIs working in some Asterisk code I
have. I’m using Asterisk 1.8.7.0, and I’m very familiar with dialplan and
AGI scripting overall. Here’s my problem: I can’t get Asterisk to execute
*any* AGIs asynchronously.

Firstly, I discovered asynchronous AGIs via “Asterisk: The Definitive
Guide”. The asynchronous AGI information I read can be found online, here:
http://ofps.oreilly.com/titles/9780596517342/AGI.html (scroll down to the
section titled “Async AGI–AMI Controlled AGI”).

According to the book, since Asterisk 1.6.0 the AGI dialplan application has
been able to execute AGI scripts asynchronously, via the syntax:

exten => s,1,AGI(async:script)

According to the book, using the “async:” prefix should have Asterisk run
the AGI script in the background and instantly continue executing dialplan
code.

So here’s my Asterisk dialplan code that’s being run:

[hangup]
exten => s,1,AGI(async:/etc/asterisk/scripts/hangup.py)
exten => s,n,Return()

Pretty simple context–essentially my AGI script just does some call clean
up logic before a caller hangs up, talking to a few web servers and
generating statistics for later usage. What happens when Asterisk executes
this context, is:

WARNING[7911]: res_agi.c:1622 launch_script: Failed to execute
‘/var/lib/asterisk/agi-bin/async:/etc/asterisk/scripts/hangup.py’: File does
not exist.

As you can see, Asterisk is ignoring the async: directive, and treating it
as part of the AGI script path.

Is there anyway for me to make asynchronous AGIs work? I’ve tried searching
online to no avail.

I’d greatly appreciate any responses, thanks for your time.

-Randall

looking for free DID 708-839

SipGate.Com used to offer free DIDs in Illinois, but it looks like they
ran out of numbers…

-Vladimir

On 9/23/2011 2:45 PM, Joseph wrote:
> Are there any free DID in Illinois 708-839 or area?
>

AGI Problem

On Sep 23, 2011, at 8:01 PM, Mehmet Avcioglu wrote:
> I have an AGI script that occasionally disappears without completing its action and asterisk logs the following.
>
> AGI Script script.php completed, returning 4
> Spawn extension (context, 0123456, 2) exited non-zero on ‘Local/0123456@context-f46e;1′

I also changed the dialplan and added a line to print AGISTATUS, but when this “returning 4″ happens, asterisk stops there and doesn’t execute any further dialplan actions, so I don’t even see AGISTATUS value.

exten => h,1,AGI(script.php,${ANSWEREDTIME},,,)
exten => h,n,NoOp(${AGISTATUS})

Executing [h@context:1] AGI(“Local/0123456@context-4b79;1″, “script.php,13,,,”) in new stack
AGI Script script.php completed, returning 4
Spawn extension (context, h, 1) exited non-zero on ‘Local/0123456@context-4b79;1′