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@misc1]/16386",
"100|1") in new
stack
-- Goto (default,100,1)
-- Executing AGI("IAX2[callfwd2@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@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@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
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@misc1]/16386",
"100|1") in new
stack
-- Goto (default,100,1)
-- Executing AGI("IAX2[callfwd2@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@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@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
Hi Philipp,
I'm not receiving my emails sent to the list. I thought my email was
not in the asterisk-users list anymore. But anyways..
About the DIAL application, I'm currently use the DIAL application from
an AGI program to connect call to Zap channels (i.e, the caller calls
an DID number, I do some checks and then call and atendent who is
connect to a Zhone channel bank). This setup works fine.
The problem is that when I receive calls from IAX2 using g729A, I do
the same checks and then call the atendent. But when my AGI program
execute the DIAL application, Asterisk says me the it could not create
the Zap channel as follows:
-- Executing Goto("IAX2[callfwd2@misc1]/16386",
"100|1") in new
stack
-- Goto (default,100,1)
-- Executing AGI("IAX2[callfwd2@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@misc1]/16386'
Using g711, I have no problem with it.. Do you recommend me to use the
old g729b instead the g729a? Better: do you know the difference between
them? I were using the g729b, but after a license upgrade, I've started
to use the g729a..
regards
Oz
On Jun 8, 2004, at 10:31 AM, Philipp von Klitzing wrote:
> Hi there,
>
> I don't think you can issue a DIAL statement from within AGI.
You'll
> need
> to return to the dialplan instead, possibly using some variables that
> you've set in your AGI script.
>
> Also you might want to look at the new application DeadAGI().
>
> Cheers, Philipp
>
>
Maybe Matching Threads
- Other ways to lm() regression? (non-loop?)
- Plotting Two Surfaces in one plot with wireframe() using groups=
- Two-way ANOVA gives different results using anova(lm()) than doing it by hand
- "Unable to find path from G729A to ULAW" on Sipphone.com
- G729a and G729 interoperability