[Asterisk-Users] Modifying astcc

Steve Totaro asterisk at totarotechnologies.com
Sun Jul 24 14:42:21 MST 2005


It is actually found in astcc.agi

Find the line that fits the channel like:
$dialstr = "Zap/$res->{path}/$phone|30|HL(" . ($maxtime * 60 * 1000) .
":60000:30000)";

Change the |30| to |60| or whatever you want.

Thanks,
Steve

----- Original Message ----- 
From: "Patricio Ku" <patricioamanku at hotmail.com>
To: <asterisk-users at lists.digium.com>
Sent: Sunday, July 24, 2005 4:11 AM
Subject: RE: [Asterisk-Users] Modifying astcc


> in etc/asterisk/extensions.conf
> where you define the desteny you should put the time. example:
> exten=>_009[13456789].,1,Dial(SIP/operador/${EXTEN},60,tr)
> in this example I am giving 60 seconds waiting for someone to pickup the
> phone.
>
> >From: chawki hammoud <cyhammoud at yahoo.com>
> >Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion
> ><asterisk-users at lists.digium.com>
> >To: Asterisk-Users at lists.digium.com
> >Subject: [Asterisk-Users] Modifying astcc
> >Date: Sat, 9 Jul 2005 12:50:14 -0700 (PDT)
> >
> >Hi:
> >
> >Astcc is working fine, except for one thing. It
> >doesn't give the called party enough time to answer
> >the phone. If nobody picks up in two rings, astcc
> >reports back no answer and hangs-up. The only instant
> >NOANSWER "value" was mentioned in astcc.agi script is:
> >
> >elsif ($res eq "NOANSWER") {
> >                         $res =
> >&mystreamfile("astcc-noanswer");
> >
> >
> >Please help me find what and where to change to
> >control the time astcc give to the called party to
> >answer.
> >
> >Regards;
> >Chawki Hammoud
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >__________________________________
> >Discover Yahoo!
> >Find restaurants, movies, travel and more fun for the weekend. Check it
> >out!
> >http://discover.yahoo.com/weekend.html
> >
> >_______________________________________________
> >Asterisk-Users mailing list
> >Asterisk-Users at lists.digium.com
> >http://lists.digium.com/mailman/listinfo/asterisk-users
> >To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
>
> _________________________________________________________________
> Un amor, una aventura, compañía para un viaje. Regístrate gratis en MSN
Amor
> & Amistad. http://match.msn.es/match/mt.cfm?pg=channel&tcid=162349
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list