Thanks Dale, Am not sure why it was working in 1.4 but for some reason it was ( Note : My Asterisk is running bundled with Elastix). But any your suggestion worked very fine.
Now am having one problem how can define those extensions only with in different contexts, the problem I see is since am Building 3 recording applications only one will be able call its AGI file, Say if someone calls custom extension 1114 They can record message -Press 1 to Replay Press 2 to Re-record or Press 3 to Save the file Also if someone calls custom extension 1115 -Press 1 to Replay Press 2 to Re-record or Press 3 to Save the file Note Each save file selection calls a different AGI file E.g exten => 1,1,Goto,timo|3552|9 exten => 2,1,Goto(3552,7) ; re-record message exten => 3,1,Goto(4,1) exten => 4,AGI(timorec.php) Kind Regards Billy On 4/16/12 11:22 PM, "Dale Noll" <[email protected]> wrote: > On 04/16/2012 08:36 AM, Billy Kaye wrote: >> In my 1.4 asterisk I have a custom application that users call and make >> recordings which recording I save to a file with the caller Id. >> Below is the config file which works perfectly in 1.4 >> > > I am not going to say that your application doesn't work under 1.4, but > to me it looks like it shouldn't work under 1.4. > > The issue is that you do not have an extension '1' defined within your > context of [timo]. (Not to mention your CLI output appears to be from a > different context all together.) When the user presses 1, Asterisk > cannot find a valid extension to send the caller to. The reason is > these lines are not valid. > >> exten => timo,1,1,Goto,timo|3552|9 >> exten => timo,2,1,Goto(3552,7) ; re-record message >> exten => timo,3,1,Goto(4,1) >> exten => timo,4,AGI(timorec.php) > > If Asterisk even parses them at all, they would define an extension > 'timo' with 4 priorities. I suspect they should be... > >> exten => 1,1,Goto,timo|3552|9 >> exten => 2,1,Goto(3552,7) ; re-record message >> exten => 3,1,Goto(4,1) >> exten => 4,AGI(timorec.php) > > Dale > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
