[Asterisk-Users] Dial from AGI = no ring back ??

Frederic Jean fjean at sunnetgroup.net
Mon Feb 20 16:51:12 MST 2006


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" <eric at fnords.org>
To: "Frederic Jean" <fjean at sunnetgroup.net>; "Asterisk Users Mailing List - 
Non-Commercial Discussion" <asterisk-users at lists.digium.com>
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
>>
>
>
> 






More information about the asterisk-users mailing list