RE: [Asterisk-Users] SIP audio cut off even with Answer, Wait...

2004-06-14 Thread Jay Milk
Ahh... We're doing the same thing!

I just tested inbound DTMF with one of our T-Mo phones as well as with
my spare Vonage line.  On my T-Mo phone, the call is established
instantly, and I get the friendly Comedian greeting.

For testing purposes, all I have in the dial-plan for this number is:
s,1,Answer
s,2,Wait(1)
s,3,VoiceMailMain()

When using vonage on the other hand, I only get 'um to Comedian Mail'.
I don't have a land-line to test here right now.

Your question #4 is indeed a puzzle.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marty
Mastera
Sent: Sunday, June 13, 2004 11:08 PM
To: [EMAIL PROTECTED]
Subject: [Asterisk-Users] SIP audio cut off even with Answer, Wait...


Hello everyone,

Having recently gotten Broadvoice inbound DTMF to work (thanks Greg)...I
am now running into a frustrating problem...when a call comes in to the
BV number via a cell phone (tested with 3 different cell phones; albeit
all on T-Mobile) the beginning of the IVR welcome audio is cut off.  A
call placed via a landline phone over the PSTN to the BV number does not
exhibit the problem.

In googling for answers, I came across the recommendation to issue an
Answer followed by a Wait of 2 or 3 seconds to let the SIP settle down
before playing back audio.  I do indeed have this in place; in fact I
have been using that advice for quite a while now whether answering SIP
or not

I decided to play with the Wait times to see what would happen and this
is what I found:

Initially I was using "Wait,3" - in this configuration whether by
landline or cell phone, * would answer without any sort of ring
indication at all - just silence from the time you finish dialling until
asterisk starts to play some audio. I kept increasing Wait by 1 and
testing with no difference either in the lack of ring indication, or the
audio cutoff when using a cellphone until I reached "Wait,7".  At this
point, there is still no ring indication, but the audio cutoff when
calling via cellphone is fixed.  Increasing to "Wait,8" gives exactly 1
ring, then * answers and the audio is perfect calling from cell
phone...each additional second of wait time above 8 gives additional
ring indication, and perfect audio...

1) Should asterisk really take 7 seconds of wait for SIP to "settle" and
not cut off audio?
2) Why would a call from a landline phone have no cutoff problems, even
with a "Wait,3"?
3) I expected that there would either be no ringing indication at all,
or that it would start immediately (or soon) after dialing.  Why is
there no ring indication unless you "Answer" then "Wait,8"?
4) If there is no ring indication prior to * answering, and I have no
"Ringing" command configured in * anywhere in my extensions.conf, where
is this ringing coming from?

This has been a bit rambling, I apologize...any feedback greatly
appreciated.

Marty
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] SIP audio cut off even with Answer, Wait...

2004-06-15 Thread Greg Hill
On Sun, 13 Jun 2004, Marty Mastera wrote:

> Having recently gotten Broadvoice inbound DTMF to work (thanks Greg)...I
> am now running into a frustrating problem...when a call comes in to the
> BV number via a cell phone (tested with 3 different cell phones; albeit
> all on T-Mobile) the beginning of the IVR welcome audio is cut off.  A
> call placed via a landline phone over the PSTN to the BV number does not
> exhibit the problem.

I had that problem sometimes when I dialed the extension to get to my
IVR.. I just tested the incoming thing like you described (I think) --
even used a T-mobile cell phone to call -- and my message didn't get
clipped. I'm not sure what the deal is with that. I actually didn't even
use Answer, just went straight to Background().. I don't know why that
worked!

Here's what I use for the entry point on my IVR:
exten => s,1,Ringing
exten => s,2,Wait(3)
exten => s,3,Answer
exten => s,4,DigitTimeout,5
exten => s,5,ResponseTimeout,20
exten => s,6,Background(mygreeting)

I usually hear one ring, more or less, and then my greeting starts
playing. I noticed that the Wait() in my sequence comes before the Answer,
while it was after Answer in your sequence. I wonder how (if) that affects
the outcome.

> 2) Why would a call from a landline phone have no cutoff problems, even
> with a "Wait,3"?

I'd make a wild guess about the cell network doing audio routing/switching
sort of like how SIP does reinvites.. maybe (if such a thing actually does
happen) it takes long enough that we miss the first part of the greeting.

> 4) If there is no ring indication prior to * answering, and I have no
> "Ringing" command configured in * anywhere in my extensions.conf, where
> is this ringing coming from?

Not sure.. I've noticed that when I call my T-mobile phone from xten lite,
through * and BV, I hear a certain ring sound. If I push Ignore on the
cell phone, then I start hearing a different ring tone and then I go to
voicemail. I believe the second ring is generated by T-mobile, but I don't
know whether the first one I hear comes from * or BV. Sorry about just
muddying the waters and not answering the question.. I don't know where
that ring comes from!

Greg


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users