[asterisk-dev] $5 Bottom Feeder's Bounty: code pointer on vm
format bug
Tim Panton
tim at mexuar.com
Mon Apr 9 02:01:37 MST 2007
If the CLI is telling the truth, it is recording that file with no
extension, the trying to
play it back with one. (sln is probably just the last extension it
tries, so a bit of a
red herring). I'm guessing the problem is in the record code not the
playback.
Tim.
On 9 Apr 2007, at 09:50, Brian Capouch wrote:
> Negotiable.
>
> On the resource-limited MIPSEL boxes voicemail.conf has to be set
> to format soundfiles in gsm only. In the trunk versions, but not
> 1.2/4, the voicemail subsystem prints the format suffix of the
> streamed files to the CLI as they play.
>
> The bug is this: recorded outbound unavail/busy/etc. greetings
> stream back in slinear instead of gsm, if the CLI is telling the
> truth. Files that show up on the CLI with the .slin suffix begin
> to play, then quickly cut out and the CLI shows a move to the next
> thing in the craw.
>
> The bounty is to show me where that stuff gets done in voicemailmain.
>
> To trigger the bug: set format to gsm only; login to voicemail and
> auth; choose '0' for options; '1' to record greeting; '#' to stop
> recording; '2' to review it and bang!
>
> I know $5 is cheesy. But I've hunted and hunted and can't find
> where it's done, and it's driving me crazy. The bug itself isn't
> that bad to work around.
>
> See it in action as the above scenario plays out on the CLI trace
> hereto appended. The next-to-last line shows the bug.
>
> Thx.
>
> B.
>
> *********** CLI output *********
>
> -- <SIP/ata1-1008b118> Playing 'vm-login.gsm' (language 'en')
>
> -- <SIP/ata1-1008b118> Playing 'vm-password.gsm' (language 'en')
>
> -- <SIP/ata1-1008b118> Playing 'vm-youhave.gsm' (language 'en')
>
> -- <SIP/ata1-1008b118> Playing 'vm-no.gsm' (language 'en')
>
> -- <SIP/ata1-1008b118> Playing 'vm-messages.gsm' (language 'en')
>
> -- <SIP/ata1-1008b118> Playing 'vm-options.gsm' (language 'en')
>
> -- Recording the message
>
> -- <SIP/ata1-1008b118> Playing 'vm-rec-unv.gsm' (language 'en')
>
> -- <SIP/ata1-1008b118> Playing 'beep.gsm' (language 'en')
>
> -- x=0, open writing: /var/spool/asterisk/voicemail/inside-
> extens/1001/unavail format: gsm, 0x1008cc40
>
> -- User ended message by pressing #
>
> -- <SIP/ata1-1008b118> Playing 'auth-thankyou.gsm' (language 'en')
>
> -- <SIP/ata1-1008b118> Playing 'vm-review.gsm' (language 'en')
>
> -- Reviewing the message
>
> -- <SIP/ata1-1008b118> Playing '/var/spool/asterisk/voicemail/
> inside-extens/1001/unavail.slin' (language 'en')
>
> -- <SIP/ata1-1008b118> Playing 'vm-review.gsm' (language 'en')
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
Tim Panton
www.mexuar.net
www.westhawk.co.uk/
More information about the asterisk-dev
mailing list