03-30-2011 03:30 AM - edited 03-21-2019 03:52 AM
Hi All,
After some intense debug we can post here a situation than can be easy replayed and we think it can be a bug.
The operation in brief is:
But the fact is that as soon as the IP Phone receives the 181, it starts the playing ringback tone.
This ringback tone is kind of 'fake', because no RINGING or SESSION Progress has been sent to phone A, just the message 181.
We know that when finally C is really ringing, Asterisk is sending the message, but this is not the case.
So, this applys also to XFERS, where the scenario is:
The operation in brief is:
So, what is the problem ?
I know that it can look like an Asterisk specific problem, but the fact is that the IP Phone permits to confirm the transfer as soon as the SIP181 is received, when the normal way of transfer confirmation can be done only on session progress or ringing.
Also, the ringback that the calling user can heard as soon as the SIP181 is received is a fake ringback.
When using only local SIP UA's everything is quite fast and no problems, but if there are SIP 302 forwards to PSTN using GSM Networks or simillar and the timing to start to receiving SESSION Progress or RINGING is not very very fast, this can cause problems. Wich is our problems
I think the solution on the phone should be:
We have tested with firmware 7.4.7 and SPA504G phones.
I hope we make this post understable and clear
We have here multiple labs, so, if needed we can provide SIP Traces, configs, etc ...
Thanks all for this great place
04-05-2011 10:39 AM
For this issue, please try the following.
1. In the Ext tab, under SIP Settings, there's a parameter called Sticky 183. Default is No, change this to Yes and retry the call.
If this doesn't resolve the issue, please enclose the wireshark of this call. Thanks.
04-05-2011 02:33 PM
Hi Nseto,
First at all, thanks for your answer.
In fact, i ve read about this option, but according to administrator manual:
"Sticky 183 If this feature is enabled, the IP telephony ignores further 180
SIP responses after receiving the first 183 SIP response for an
outbound INVITE. To enable this feature, select yes. Otherwise,
select no.
Defaults to no."
Its not related to 183 Session Progress && 180 Ringing.
The fact is the phone starts to play ringback as soon as it receives a 181 Call is forwarded.
For replay this, as easy as:
-2 Phones A+B
-B has call forwarding to a remote GSM Mobile phone (something that takes some seconds to really ringing).
Call from A to B, you will hear the ringback tone as soon as you starts calling, not when the remote destination is ringing.
At same time, with ngrep/wireshark the packet capture will show that there is no SDP at all with session progress and not 180 ringing, just the 181 Call is Being Forwarded.
Im far from a IP Phone now, but tomorrow will be on our lab and i can upload the pcap files or ngrep dumps.
And I will try the Sticky 183 option, but looks like is not related.
Thanks again Nseto
Gorka.
04-12-2011 07:38 AM
Hi,
After some debugging... Sticky option, in this case, doesn't do anything special.
The main problem is that phone plays a Ringback tone when it receives a 181 SIP message.
-So, A phone calls B and B phones answers to Asterisk with a 302 SIP message:
U 10.10.0.180:5060 -> 10.1.100.190:5060
SIP/2.0 302 Moved Temporarily.
To:
From: "Irontec " <5998>;tag=as0ff349ee.5998>
Call-ID: 19c731632eb7a97a438a127061834cbe@10.1.100.190:5060.
CSeq: 102 INVITE.
Via: SIP/2.0/UDP 10.1.100.190:5060;branch=z9hG4bK7241485e.
Contact: <123456789>.123456789>
Diversion:
Server: Cisco/SPA504G-7.4.7.
Content-Length: 0.
.
-And then Asterisk tells phone A that call is going to be forwarded (without any SDP):
U 10.1.100.190:5060 -> 10.10.0.177:5061
SIP/2.0 181 Call is being forwarded.
Via: SIP/2.0/UDP 10.10.0.177:5061;branch=z9hG4bK-587a5e23;received=10.10.0.177.
From:
To: "Irontec Remoto" <5999>;tag=as6e94e4bc.5999>
Call-ID: a85753a1-a2f36773@10.10.0.177.
CSeq: 102 INVITE.
Server: "Irontec IVOZ".
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Contact: <5999>.5999>
Diversion:
Content-Length: 0.
.
04-18-2011 07:09 AM
Hello,
¿Any news regarding this?
We really think it's a bug and phone plays ringback when no needed, it plays ringback as soon as received the 181.
Its very easy to "reproduce" this scenario.
Just register a phone to SIP IP PBX, set call forwarding to an external pstn cell phone (better cell, because it takes a little more time), call from phone A to phone B and:
-Displays will print: "Call is being forwarded" [Perfect]
-Phone will play ringback [Not correct]
Thanks!
04-18-2011 08:41 AM
Sorry, I was out for a week. I need to log a bug report on this, but I need the trace, please enclose the trace and I can enter your info and the trace into the bug report. Thanks.
04-19-2011 12:21 AM
04-19-2011 08:42 AM
Thanks, I've entered as a bug request. It's cdet number CSCto80487.
04-22-2011 02:37 PM
Hi, dev is working on the issue and they would like a test accounts with your asterisk server. Please send me 3 test accounts to nseto at cisco.com. Then dev can work on the case that you show as
A calls B via Asterisk
B replys to Asterisk SIP 302 Moved Temp. to C
Asterisk sends to A SIP 181 (Being forwarded...).
Asterisk then calls C
At the end, A is bridged with C.
Thanks!
04-26-2011 09:03 AM
Gorka, as requested a few days ago, please have three test accounts for dev to use so they can address the issue. Please email the info to nseto at cisco.com. Thanks.
04-27-2011 12:57 AM
Sorry, we've been out those days.
We'll prepare a testing environment as soon as possible.
thanks.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide