[Asterisk-Users] AGI + g729A
Osvaldo Mundim
osvaldo at ilinksolutions.com
Mon Jun 7 11:27:19 MST 2004
Hello....
I have the follow situatuion:
< ISDN >
|
|
V
E100P
|----------------| IAX2 / g729A |----------------| T100P
| Asterisk1 |- - - - - - - - - - - - - - > | Asterisk2 | - - - - -
-> |--------------|
| | | | | Zhone |
----------------- ----------------- ---------------
Here's the situation: I receive calls from the PSTN in Asterisk1 and
forward the call to Asterisk2
(which is connected to a Zhone 100 channel bank). In Asterisk2 I have
an AGI application
written in C which does some checks before dial one of the extensions.
From the AGI program, after done all I have to do, I need to call one
extension, but when
I call the "Dial" application, my AGI program exits and Asterisk gives
me:
-- Executing Goto("IAX2[callfwd2 at misc1]/16386", "100|1") in new
stack
-- Goto (default,100,1)
-- Executing AGI("IAX2[callfwd2 at misc1]/16386", "exm") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/exm
-- AGI Script Executing Application: (DIAL) Options: (Zap/23|12|m)
Jun 7 13:28:30 NOTICE[730128]: app_dial.c:554 dial_exec: Unable to
create channel of type 'Zap'
== Everyone is busy at this time
-- AGI Script exm completed, returning 0
-- Hungup 'IAX2[callfwd2 at misc1]/16386'
At this time, the caller goes to the start (s) extension and keep
trying to call somebody up to hangup.
I'm currently using the g729a downloaded from Digium's FTP server and
Asterisk version (Asterisk CVS-05/30/04-16:28:04 built by root at 8cs on a
i686 running Linux). When I use g711 instead of g729 I have no problem
doing that..
Can it be some kind of g729A problem? Did anybody face the same problem?
thank you
Oz
More information about the asterisk-users
mailing list