Re: [asterisk-users] Voicemail greeting playback issues?

2013-11-26 Thread Bryant Zimmerman



From: "Doug Lytle" 
Sent: Monday, November 25, 2013 6:25 PM
To: "Asterisk Users Mailing List - Non-Commercial Discussion" 

Subject: Re: [asterisk-users] Voicemail greeting playback issues?

Bryant Zimmerman wrote:
> Hey all
>
> I believe I found the bug in Asterisk 11.xxx If someone can help me
> verify it.

Actually,

I wouldn't consider it a bug.  I've know for years that you need to
answer a channel before you play back audio or strange things can and
will happen.

Doug

-- 
Doug

The real issue here is that issuing an Answer() just before does not seem 
to solve the problem. To work around the issue I have to either put a 
Wait(1) or Dial() some extensions first. It is presenting like if you drop 
into the Voicemail() command too fast during call setup that you have 
issues. This did not occur in 1.8.x. I would be ok if just issuing an 
Answer() would resolve it as this would be normal, but having to slow down 
the dial plan seems off. 

Thanks
Bryant

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Voicemail greeting playback issues?

2013-11-25 Thread Matthew Jordan
On Mon, Nov 25, 2013 at 7:17 PM, Patrick Lists <
asterisk-l...@puzzled.xs4all.nl> wrote:

> On 11/26/2013 12:24 AM, Doug Lytle wrote:
> > Bryant Zimmerman wrote:
> >> Hey all
> >>
> >> I believe I found the bug in Asterisk 11.xxx If someone can help me
> >> verify it.
> >
> > Actually,
> >
> > I wouldn't consider it a bug.  I've know for years that you need to
> > answer a channel before you play back audio or strange things can and
> > will happen.
>
> That's what I do since the 0.x days. IIRC in recent Asterisk versions
> some apps answer before doing anything else. Guess the voicemail app is
> not one of them. I always answer first followed by a small Wait and then
> execute the app.
>
>
VoiceMail does automatically Answer a channel.

I'm going to guess that you have strictrtp enabled (which it is by
default), and that if you cranked up Asterisk verbose logging to at least
4, you'd see something like this at about the time you started hearing
audio:

0xYY - Probation passed - setting RTP source address to xxx.xxx.xxx.xxx

Asterisk drops RTP packets until it locks onto an RTP source. It does this
to prevent media injection attacks. The default probation period for an RTP
source is four packets - you can configure the probationary period as well
as whether or not strict RTP checking is enabled in rtp.conf.

Matt

-- 
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Voicemail greeting playback issues?

2013-11-25 Thread Patrick Lists
On 11/26/2013 12:24 AM, Doug Lytle wrote:
> Bryant Zimmerman wrote:
>> Hey all
>>
>> I believe I found the bug in Asterisk 11.xxx If someone can help me
>> verify it.
> 
> Actually,
> 
> I wouldn't consider it a bug.  I've know for years that you need to
> answer a channel before you play back audio or strange things can and
> will happen.

That's what I do since the 0.x days. IIRC in recent Asterisk versions
some apps answer before doing anything else. Guess the voicemail app is
not one of them. I always answer first followed by a small Wait and then
execute the app.

Regards,
Patrick

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Voicemail greeting playback issues?

2013-11-25 Thread Doug Lytle
Bryant Zimmerman wrote:
> Hey all
>
> I believe I found the bug in Asterisk 11.xxx If someone can help me
> verify it.

Actually,

I wouldn't consider it a bug.  I've know for years that you need to
answer a channel before you play back audio or strange things can and
will happen.

Doug

-- 
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary 
Safety, deserve neither Liberty nor Safety."


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Voicemail greeting playback issues?

2013-11-25 Thread Bryant Zimmerman



From: "Bryant Zimmerman" 
Sent: Monday, November 25, 2013 2:49 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Voicemail greeting playback issues?


From: "Doug Lytle" 
Sent: Monday, November 25, 2013 2:01 PM
To: brya...@zktech.com, "Asterisk Users Mailing List - Non-Commercial 
Discussion" 
Subject: Re: [asterisk-users] Voicemail greeting playback issues?

>> Both 11.2.1 and 11.6 do this. If I drop back to 1.8.current the issue 
goes away.

I don't see this under 11.5.1

Doug

---

Doug

Thank you for your response. It is good to hear that you are not having the 
issue. 
It gives me hope that there is a way to resolve this quickly. 

Do  you have an thing special around your voicemail configuration? We  
started with the 11.xx sample config and mapped our settings from  1.8.x.   
Both our 11.xx and 1.8.x systems are running on the same  virtual server. 
Both are reading and writing audio and vm files to and  from the local 
storage.  I forced off g729 to ensure that it was not  causing the issues.

Do you know of any way to force a higher level of debugging to see why the 
voicemail application would be having an issue?

Thanks

 Bryant Zimmerman (ZK Tech Inc.)
 616-855-1030 Ext. 2003



Hey all

I believe I found the bug in Asterisk 11.xxx If someone can help me verify 
it.

My voice mail test scripts do not answer or wait they just drop you into 
the voicemail box. 

It appears that something with Asterisk 11.xx is causing the voicemail() 
command to drop in and ether not play or mess up the prompts. If you have 
not given it at least one second in the channel before passing it to the 
voicemail() command.
If you throw a wiat(1) just before the voicemail() command the prompts play 
correctly. So if you have rung extensions using dial() before going to 
voicemail that appears to be enough time. 

If you place an inbound call directly to voicemail() with no pause then you 
have an issue. 

Example Broken:
exten => _9XXX,1,Set(l_VMExt=${EXTEN:1})
exten => _9XXX,n,MailboxExists(${l_VMExt}@${siteVMContext})
exten => _9XXX,n,GotoIf($["${VMBOXEXISTSSTATUS}"="FAILED"]?doHangup)
exten => _9XXX,n,Voicemail(${l_VMExt}@${siteVMContext},u)
exten => _9XXX,n(doHangup),NoOp(Issue 9XXX Hangup)
exten => _9XXX,n,Hangup()

Example Works:
exten => _9XXX,1,Set(l_VMExt=${EXTEN:1})
exten => _9XXX,n,MailboxExists(${l_VMExt}@${siteVMContext})
exten => _9XXX,n,GotoIf($["${VMBOXEXISTSSTATUS}"="FAILED"]?doHangup)
exten => _9XXX,n,Wait(1)
exten => _9XXX,n,Voicemail(${l_VMExt}@${siteVMContext},u)
exten => _9XXX,n(doHangup),NoOp(Issue 9XXX Hangup)
exten => _9XXX,n,Hangup()

The code that is broken with Asterisk 11.xx worked in Asterisk 1.8.x
Can anyone confirm this?

Thanks
Bryant Zimmerman()

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Voicemail greeting playback issues?

2013-11-25 Thread Bryant Zimmerman



From: "Doug Lytle" 
Sent: Monday, November 25, 2013 2:01 PM
To: brya...@zktech.com, "Asterisk Users Mailing List - Non-Commercial 
Discussion" 
Subject: Re: [asterisk-users] Voicemail greeting playback issues?

>> Both 11.2.1 and 11.6 do this. If I drop back to 1.8.current the issue 
goes away.

I don't see this under 11.5.1

Doug

---

Doug

Thank you for your response. It is good to hear that you are not having the 
issue. 
It gives me hope that there is a way to resolve this quickly. 

Do  you have an thing special around your voicemail configuration? We  
started with the 11.xx sample config and mapped our settings from  1.8.x.   
Both our 11.xx and 1.8.x systems are running on the same  virtual server. 
Both are reading and writing audio and vm files to and  from the local 
storage.  I forced off g729 to ensure that it was not  causing the issues.

Do you know of any way to force a higher level of debugging to see why the 
voicemail application would be having an issue?

Thanks

 Bryant Zimmerman (ZK Tech Inc.)
 616-855-1030 Ext. 2003


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Voicemail greeting playback issues?

2013-11-25 Thread Doug Lytle
>> Both 11.2.1 and 11.6 do this. If I drop back to 1.8.current the issue goes 
>> away. 


I don't see this under 11.5.1 

Doug 


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Voicemail greeting playback issues?

2013-11-25 Thread Bryant Zimmerman
Hey all

I have been beating on this all weekend long.
Any feed back would be appreciated. 

We stood up a 11.6 system. We tested everything we could think of. 
We moved over to it and all seemed to be working good than a customer told 
us that they were not hearing our vociemail greetings. 
When we call into the system and it drops to voicemail we just get a beep 
no greeting played.  We checked and the greeting files are there and play 
back from the voicemail ivr.  If no greeting is there it just plays "The 
Pers.. beep"

Both 11.2.1 and 11.6 do this. If I drop back to 1.8.current the issue goes 
away.

Any Ideas?

Thanks

 Bryant Zimmerman (ZK Tech Inc.)
 616-855-1030 Ext. 2003
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users