hudamalmsteen / sipdroid

Automatically exported from code.google.com/p/sipdroid
0 stars 0 forks source link

No ringback tone #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Outgoing SIP calls have no dial tone.

And the called port comes on line rather unexpected because there is no
audible clue that the call is connected now. A little click noise would
help a lot there.

It is probably possible for the provider to inject a dial tone for me.
But mine does not (sipgate.de) in this case the handset should do it.

Original issue reported on code.google.com by TilmanBa...@gmail.com on 19 May 2009 at 11:28

GoogleCodeExporter commented 9 years ago
Sorry, meant ring tone. But there is no dial tone either as far as I remember. 
So it
is not entirely wrong. :)

Original comment by TilmanBa...@gmail.com on 19 May 2009 at 11:29

GoogleCodeExporter commented 9 years ago
Have you tried thru pbxes.org or directly?

Original comment by pmerl...@googlemail.com on 19 May 2009 at 1:34

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
No, I have no account.
As far as I understand SIP this audio signalling before a call is established,
is entirely optional.
Sipdroid schould support this. Even if is no issue with pbxes.org.

Original comment by TilmanBa...@gmail.com on 22 May 2009 at 12:20

GoogleCodeExporter commented 9 years ago
Issue 70 has been merged into this issue.

Original comment by pmerl...@googlemail.com on 13 Jul 2009 at 2:25

GoogleCodeExporter commented 9 years ago
The problem persists in 1.0.4.  Sniffing reveals that the SIP Ringing packet is
received from the PBX but SipDroid never acts upon it.

If I connect a different SIP client to the same extension (instead of SipDroid) 
the
tone is fine.

Apparently, signalling notifications are not implemented properly in SipDroid 
yet.

Original comment by weiss.y...@gmail.com on 4 Aug 2009 at 9:24

GoogleCodeExporter commented 9 years ago
I haver the same problem connecting to my Asterisk PBX (ver.1.4)

Original comment by federico...@gmail.com on 20 Aug 2009 at 9:30

GoogleCodeExporter commented 9 years ago
The problem persists in 1.0.5.

Original comment by weiss.y...@gmail.com on 22 Aug 2009 at 11:52

GoogleCodeExporter commented 9 years ago
Temporary workaround until this bug is fixed and sipdroid starts acting upon SIP
"Ringing" messages:

In your asterisk's extensions.conf, replace regular dial-plan entries like:

exten => _1NNNXXXXXX,1,Dial,SIP/${EXTEN}@gateway

with something like this:

exten => _1NNNXXXXXX,1,Answer
exten => _1NNNXXXXXX,n,Ringing
exten => _1NNNXXXXXX,n,Dial,SIP/${EXTEN}@gateway

so your asterisk will answer the call immediately and play ringing tone via RTP 
while
waiting for the callee to pick up.

There's probably a way to apply such macro to the entire android extension 
rather
than adding it to every dial-plan entry, but I'm not sure how.  If you write 
such
macro, please post it here.

I suppose that's what pbxes.org does too.  I still hope this bug will be 
addressed,
as this solution wastes bandwidth and battery by transferring audio while 
there's no
real call in progress.

Original comment by weiss.y...@gmail.com on 23 Aug 2009 at 10:03

GoogleCodeExporter commented 9 years ago
Adding to my previous comment regarding workaround.  The short way to implement 
it in
asterisk is to add a context.  If you have a SIP extension called "android" in
sip.conf, where context=dialplan, change it to context=android-dialplan, and 
define
the following dialplan:

[android-dialplan]
exten => _.,1,Answer
exten => _.,n,Dial(Local/${EXTEN}@dialplan)

so that calls made by the "android" extension will be answered immediately by 
the
PBX.  The ringing tone will now come from the PBX.

Original comment by weiss.y...@gmail.com on 24 Aug 2009 at 9:13

GoogleCodeExporter commented 9 years ago
Great ! Problem solved ! Thank you very much.

Original comment by federico...@gmail.com on 24 Aug 2009 at 10:07

GoogleCodeExporter commented 9 years ago
You're welcome.  I wouldn't go so far as to call it "solved" though.  More like
"temporarily worked around".

Original comment by weiss.y...@gmail.com on 24 Aug 2009 at 10:16

GoogleCodeExporter commented 9 years ago
Jiri is working on it.

Original comment by pmerl...@googlemail.com on 18 Sep 2009 at 7:26

GoogleCodeExporter commented 9 years ago
Please test my patch which should solve this issue:
http://groups.google.com/group/sipdroid-developers/browse_thread/thread/a1999eff
0ea140c6

Original comment by jiri....@gmail.com on 19 Sep 2009 at 11:24

GoogleCodeExporter commented 9 years ago

Original comment by pmerl...@googlemail.com on 21 Sep 2009 at 11:16

GoogleCodeExporter commented 9 years ago
In which version is it fixed? I have the latest version from the market and 
there is still no ringtone...

Original comment by Lub...@gmail.com on 18 Nov 2009 at 11:08

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Please install the "AudioManager Widget" from the Android Market and pull all 
volumes
up to the higher level. Then if you call to call somebody, you should hear the
ringbacktone from the loudspeaker. If not, it is not a bug in Sipdroid (perhaps 
your
VoIP provider doesn't support this feature). It works for me by three different 
VoIP
providers.

Original comment by jiri....@gmail.com on 18 Nov 2009 at 11:42

GoogleCodeExporter commented 9 years ago
I installed the AudioManager and all volumes were up. Note that I have no 
problems 
with using software or hardware SIP phones in this network. It is just Sipdroid 
what 
doesn't get me any audio feedback.

Even if I dial a nonexistent number, I can't hear the typical "number does not 
exist" warning. Just silence and after it has stopped "playing" the warning, 
the 
call ends.

Original comment by Lub...@gmail.com on 18 Nov 2009 at 6:14

GoogleCodeExporter commented 9 years ago
I have no outgoing ringtone and no incoming rintone. HTC Hero.

Original comment by peej...@gmail.com on 26 Nov 2009 at 3:38

GoogleCodeExporter commented 9 years ago
Guys, the problem is clear. It is not your audio equipment or your ears or 
whatever.
The problem exists when your SIP gateway does not inject a signalling tone. As
stated, this signalling tone is optional.
(Good reason for this is that there is no standard for how they are supposed to
sound. A UK ring tone might sound awfully similar to a busy tone to most other
Europeans.)

Workaround. Make your PBX feed you a ring tone.

Fix. Make Sipdroid play some tones while ringing when no signalling tone comes 
from
the PBX.
I think this needs to be fixed because it is a really bad user experience.

Original comment by TilmanBa...@gmail.com on 1 Dec 2009 at 10:23

GoogleCodeExporter commented 9 years ago
#21: Nope, you're wrong. My SIP gateway definitely does inject a signalling 
tone. One
can tell this very easily in my country thanks to the widespread use of 
"custom" dial
tones, where a song of the callee's choice is played in the background.

I can hear such a song when calling my friend from Twinkle or a Linksys HW 
phone. I
can even hear the Czech error message if I dial a nonexistent number.

I can hear neither with Sipdroid.

Original comment by Lub...@gmail.com on 1 Dec 2009 at 10:30

GoogleCodeExporter commented 9 years ago
Oh, ok. Sorry for jumping to conclusions.

Original comment by TilmanBa...@gmail.com on 1 Dec 2009 at 11:19

GoogleCodeExporter commented 9 years ago
I have just tried the latest version of Sipdroid and I can finally hear the 
ringback 
tone! Can anyone else confirm?

Original comment by Lub...@gmail.com on 13 Apr 2010 at 10:18

GoogleCodeExporter commented 9 years ago
Hero CDMA Sprint 2.1, Sipdroid 1.5.7~1.6.1

The ringback tone is a high pitched hiss which sometimes eventually crashes 
Sipdroid while the call is still trying to connect. With PBXes.org, the 
ringback works fine. Looks like something is wrong with the locally inserted 
ringback tone. 

The ringback tone did come to work one night when I was messing around with it. 
But it stopped working in the next morning while I did not change anything.

Original comment by jac...@gmail.com on 16 Oct 2010 at 7:27

GoogleCodeExporter commented 9 years ago
I've found the problem with the CDMA Hero. When the phone is in airplane mode 
and with WiFi enabled, the ringback tone works fine. When the phone is out of 
airplane mode, whether Sipdroid is using WiFI or 3G, the ringback tone is a 
high pitched hiss which eventually crashes Sipdroid if it is longer than ~1.5 
rings. It looks like an audio driver problem when the phone is not in airplane 
mode. CSipSimple does not have this issue. 

Original comment by jac...@gmail.com on 7 Apr 2011 at 7:34