Thanks Eric,
I'll try that, but I am using ztdummy, will it work ?
Thanks a lot for your attention,
Frederic
----- Original Message -----
From: "Eric "ManxPower" Wieling" <[EMAIL PROTECTED]>
To: "Frederic Jean" <[EMAIL PROTECTED]>; "Asterisk Users Mailing List -
Non-Commercial Discussion" <[email protected]>
Sent: Monday, February 20, 2006 20:45
Subject: Re: [Asterisk-Users] Dial from AGI = no ring back ??
If the line is answered, you frequently need a
/etc/asterisk/indications.conf in order to get ringback.
Frederic Jean wrote:
Hi everybody,
I sent an e-mail this morning regarding SIP / IAX2
with no ring-back, I now succeeded to pin-point the
problem, here it is, if I dial a provider directly from
extensions.conf I get ring-back, if I dial from an AGI
script I don't get the ring-back but it calls anyway.
I use 1.0.9.
Any hint would be appreciated ! Thanks,
Frederic
;Calling this one does not give me ring back from the script:
exten => _0XX32316200,1,DeadAGI(fred.agi)
exten => _0XX32316200,2,Hangup
;Dialing this one directly gives me the ring back
exten => _10XX32316200,1,Dial(IAX2/provider/559132316200,60);
exten => _10XX32316200,2,Hangup
The "fred.agi" script:
#!/usr/bin/perl
use DBI;
use Asterisk::AGI;
$AGI = new Asterisk::AGI;
$AGI->answer();
$dialstr = "IAX2/provider/559132316200|60";
$res = $AGI->exec("DIAL $dialstr");
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users