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
If you searched the archives you might find the answer from the past couple of days. I'll resend it. In astcc.agi there is are lines similar to this: $dialstr = "IAX2/$res->{path}/$phone|30|HL(" . ($maxtime * 60 * 1000) . ":60000:30000)"; change the 30 to however many seconds you want. Darren Wiebe darren@aleph-com.net chawki hammoud wrote:>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@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 > > >
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@yahoo.com> >Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion ><asterisk-users@lists.digium.com> >To: Asterisk-Users@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@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