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