Beginning of playback messages are cut off just for mobile
Posted: Tue Jul 25, 2017 11:39 am
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!"
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?
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!"
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?