[Home]

Summary:ASTERISK-13897: Asterisk generates Ring instead of Coloring Ring Back Tone (Early Media).
Reporter:Alisher (licedey)Labels:
Date Opened:2009-04-04 21:16:56Date Closed:2009-10-20 12:54:24
Priority:MinorRegression?Yes
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) log.zip
Description:Until 1.4.24 version it was possible to hear Coloring Ring back provided by VOIP provider. After upgrading to latest version, coloring disappeared.

Also there is no coloring for all asterisk version, when we do sip attended transfer.

****** ADDITIONAL INFORMATION ******

When I do sip attended transfer, I see a notice on CLI:

res_features.c:1281 ast_feature_request_and_dial: Don't know what to do with control frame 14
Comments:By: Joshua C. Colp (jcolp) 2009-04-06 09:22:17

Please attach complete console output and sip debug showing this issue.

By: Alisher (licedey) 2009-04-07 02:45:51

I took some tests with 1.4.24.1 version, I can hear Coloring Ring Back Tone for outgoing calls when dial directly.

Still no coloring for sip attended transfers.

I have attached the dialplan, CLI and sip debugs.

By: David Woolley (davidw) 2009-06-10 14:08:46

You are doing a features (PBX) transfer, not a SIP transfer.  Frame type 14 is Progress, so presumably the features transfer code doesn't know what to do with early media.

As a real SIP transfer wouldn't know the call was a transfer, at that stage, I would expect it to work like a simple outgoing call. You would have to try to see if it gave the right indication to the transferee.

PS I don't know what the poicy is on this, but zipping trace files discourages me from looking at them.

By: Alisher (licedey) 2009-06-11 07:51:16

to davidw:

Asterisk currently supports only "blind real sip transfer" using 302 Moved Temporarily message. The real sip attended transfer which is done using REFER message is not support yet. There is a some code in chan_sip for REFER, it was left unfinished.

By saying "sip attended transfer", I meant to transfer call with Asterisk's Call Transfer feature to outbound SIP trunk from local sip/iax peers or analog telephones connected to FXS.



By: David Woolley (davidw) 2009-06-11 09:07:20

302 is only usable for forwarding, not for transfers.  Blind SIP transfers do work, even though they require sending REFER.  I'm fairly sure that I've also successively done SIP attended transfers.

The Transfer application, which is something else again, also supports sending REFER on answered calls.

By: Alisher (licedey) 2009-06-14 22:53:32

to davidw:
This bug report is not related to 302/Refer transfers, but in native Asterisk Call transfer when call is transfer to outbound sip trunk.

Also the current Refer implementation in Asterisk is not compliant with SIP RFC-3515 and RFC-3261. There was a discussion in development mailing list 3 years ago.

http://www.google.com/#hl=en&q=REFER+%2F+NOTIFY+methods+according+to+RFC-3515&aq=f&oq=&aqi=&fp=q07gBlqSm5s

Still Refer in the chan_sip is as it was 3 years ago.



By: Alisher (licedey) 2009-09-16 11:22:04

Possible work around for this problem:

- Remove "res_features.c:1281" warning message
- Remove "ast_indicate(caller, AST_CONTROL_RINGING);" line from ast_feature_request_and_dial function in res_features.c
- Add Progress() application to you dial plan before execution of Dial() application.



By: Digium Subversion (svnbot) 2009-10-20 12:50:56

Repository: asterisk
Revision: 224773

U   branches/1.4/res/res_features.c

------------------------------------------------------------------------
r224773 | file | 2009-10-20 12:50:55 -0500 (Tue, 20 Oct 2009) | 5 lines

Add support for relaying early media in the features attended transfer option.

(closes issue ASTERISK-13897)
Reported by: licedey

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=224773

By: Digium Subversion (svnbot) 2009-10-20 12:51:52

Repository: asterisk
Revision: 224774

_U  trunk/
U   trunk/main/features.c

------------------------------------------------------------------------
r224774 | file | 2009-10-20 12:51:52 -0500 (Tue, 20 Oct 2009) | 12 lines

Merged revisions 224773 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
 r224773 | file | 2009-10-20 14:46:37 -0300 (Tue, 20 Oct 2009) | 5 lines
 
 Add support for relaying early media in the features attended transfer option.
 
 (closes issue ASTERISK-13897)
 Reported by: licedey
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=224774

By: Digium Subversion (svnbot) 2009-10-20 12:52:47

Repository: asterisk
Revision: 224775

_U  branches/1.6.0/
U   branches/1.6.0/main/features.c

------------------------------------------------------------------------
r224775 | file | 2009-10-20 12:52:46 -0500 (Tue, 20 Oct 2009) | 19 lines

Merged revisions 224774 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r224774 | file | 2009-10-20 14:47:34 -0300 (Tue, 20 Oct 2009) | 12 lines
 
 Merged revisions 224773 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r224773 | file | 2009-10-20 14:46:37 -0300 (Tue, 20 Oct 2009) | 5 lines
   
   Add support for relaying early media in the features attended transfer option.
   
   (closes issue ASTERISK-13897)
   Reported by: licedey
 ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=224775

By: Digium Subversion (svnbot) 2009-10-20 12:53:33

Repository: asterisk
Revision: 224776

_U  branches/1.6.1/
U   branches/1.6.1/main/features.c

------------------------------------------------------------------------
r224776 | file | 2009-10-20 12:53:33 -0500 (Tue, 20 Oct 2009) | 19 lines

Merged revisions 224774 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r224774 | file | 2009-10-20 14:47:34 -0300 (Tue, 20 Oct 2009) | 12 lines
 
 Merged revisions 224773 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r224773 | file | 2009-10-20 14:46:37 -0300 (Tue, 20 Oct 2009) | 5 lines
   
   Add support for relaying early media in the features attended transfer option.
   
   (closes issue ASTERISK-13897)
   Reported by: licedey
 ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=224776

By: Digium Subversion (svnbot) 2009-10-20 12:54:23

Repository: asterisk
Revision: 224777

_U  branches/1.6.2/
U   branches/1.6.2/main/features.c

------------------------------------------------------------------------
r224777 | file | 2009-10-20 12:54:23 -0500 (Tue, 20 Oct 2009) | 19 lines

Merged revisions 224774 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r224774 | file | 2009-10-20 14:47:34 -0300 (Tue, 20 Oct 2009) | 12 lines
 
 Merged revisions 224773 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r224773 | file | 2009-10-20 14:46:37 -0300 (Tue, 20 Oct 2009) | 5 lines
   
   Add support for relaying early media in the features attended transfer option.
   
   (closes issue ASTERISK-13897)
   Reported by: licedey
 ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=224777