[asterisk-users] Custom Application recording problem

Dale Noll dnoll at wi.rr.com
Mon Apr 16 15:22:48 CDT 2012


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



More information about the asterisk-users mailing list