Page 1 of 1

Beginning of playback messages are cut off just for mobile

PostPosted: Tue Jul 25, 2017 11:39 am
by airflux
Hi guys,
This appens in the last Vicidial version: asterisk 11.25.1-vici and SVN 2796. I've already experienced with something similar working with dtmf tones sent in audio with an onder Vicidial version, solved using signalonly option in agi-dtmf.agi.

Agent and carrier trunk allows alaw codec only. Vicidial is installed on hardware, no virtualization. All works fine.

I configured one voicemail with ID 1000, then the "default" DID is configured to route all calls to this VM.

The call route to VM with no problem, but when an audio message is played like that <SIP/vicitest-0000000d> Playing 'vm-theperson.alaw', the beginning is cut off only when i call from mobile.
Calling from PSTN I hear the full message "the person ...", calling from mobile I hear "person ..." or "e person ...". The rest of the message (playing digits/1.alaw, 0, 0, 0, etc) is complete, just the beginning is not.

I've found some workaround

1) adding beep before the Voicemail(), the beginning of beep is cut off, the rest of message is complete, and no one will say "hey, your beep is short!" :D
exten => _85026666666666.,1,Wait(1)
exten => _85026666666666.,n,Playback(beep)
exten => _85026666666666.,n,Voicemail(${EXTEN:14},u)
exten => _85026666666666.,n,Hangup()

2) adding Answer() before Wait(1), but I think there are some reason to handle the call after 1 sec before Voicemail, then this can make Vicidial unstable!?
exten => _85026666666666.,1,Answer()
exten => _85026666666666.,n,Wait(1)
exten => _85026666666666.,n,Voicemail(${EXTEN:14},u)
exten => _85026666666666.,n,Hangup()

Playing sip-silences before Voicemail() doesn't help.

This appens only to me?

Re: Beginning of playback messages are cut off just for mobi

PostPosted: Wed Sep 13, 2017 9:52 pm
by williamconley
1) You posted your SVN revision. You posted your installer version. But you never posted your Vicidial Version with Build. While I applaud the others: The Vicidial Version with Build is actually a requirement. Please include it in all your posts. It's in the bottom left corner of most Admin screens.

2) The problem isn't limited to mobile, it happens for many reasons. Your best bet is to have a moment of silence at the beginning of your recording. If recording the message yourself: Inhale before you talk. If you're using an existing recording: Remember the | will play two recordings in sequence, so you can use the sip-silence recording before your recordings "sip-silence|your-recording".