[Home]

Summary:ASTERISK-10197: atxfer causes notice+warning
Reporter:Dmitry Andrianov (dimas)Labels:
Date Opened:2007-08-29 17:35:30Date Closed:2007-08-30 16:53:22
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Resources/res_features
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Every time our receptionist does attendend transfer we see following on the console:

[Aug 29 16:57:56] NOTICE[8472]: res_features.c:1241 ast_feature_request_and_dial: Don't know what to do about control frame: -1
[Aug 29 16:57:56] WARNING[8472]: cdr.c:831 ast_cdr_init: CDR already initialized on 'Local/7282@incoming-pbx-04-2e0b,1'

all channels involved are Zap channesl. Transfer activates by pressing *2 (as configured in features.conf)

Not a big problem really, but to me any notice and especially warning is a sign that something can be wrong.

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

Below is full console output for the call. I'm inserting comments with <XXX>

   -- Starting simple switch on 'Zap/6-1'
<XXX> incoming call arrives at Zap/6 which is configured to dial Zap/21 (see piece of extensions.ael below)

   -- Executing [s@incoming-pbx-222:1] Dial("Zap/6-1", "Zap/21||t") in new stack
   -- Called 21
   -- Zap/21-1 is ringing
   -- Zap/21-1 is ringing
   -- Zap/21-1 answered Zap/6-1
   -- Started music on hold, class 'default', on Zap/6-1
   -- <Zap/21-1> Playing 'pbx-transfer' (language 'en')
   -- Executing [7327@incoming-pbx-04:1] Dial("Local/7327@incoming-pbx-04-4b63,2", "Zap/g3/wwww327") in new stack
   -- Called g3/wwww327

<XXX> Zap/g3 is FXO connected to out legacy PBX so we are calling extension 327 there

   -- Zap/22-1 is ringing
   -- Local/7327@incoming-pbx-04-4b63,1 is ringing
   -- Zap/22-1 answered Local/7327@incoming-pbx-04-4b63,2
[Aug 29 18:04:36] NOTICE[8652]: res_features.c:1241 ast_feature_request_and_dial: Don't know what to do about control frame: -1
[Aug 29 18:04:36] WARNING[8652]: cdr.c:831 ast_cdr_init: CDR already initialized on 'Local/7327@incoming-pbx-04-4b63,1'
   -- Stopped music on hold on Zap/6-1
   -- <Local/7327@incoming-pbx-04-4b63,1> Playing 'beep' (language 'en')
   -- Hungup 'Zap/21-1'
 == Spawn extension (incoming-pbx-222, s, 1) exited non-zero on 'Transfered/Zap/6-1<ZOMBIE>'
   -- Hungup 'Zap/22-1'
 == Spawn extension (incoming-pbx-04, 7327, 1) exited non-zero on 'Local/7327@incoming-pbx-04-4b63,2'
   -- Hungup 'Zap/6-1'


extensions.ael:
the incoming-pbx-222 is context specified for Zap6

context incoming-pbx-222 {
       s => {
               Dial(Zap/21,,t);
       };
}
Comments:By: Russell Bryant (russell) 2007-08-29 21:36:48

Thank you for the thorough report.  karma++;  :)

By: Digium Subversion (svnbot) 2007-08-30 09:05:29

Repository: asterisk
Revision: 81369

------------------------------------------------------------------------
r81369 | file | 2007-08-30 09:05:27 -0500 (Thu, 30 Aug 2007) | 4 lines

(issue ASTERISK-10197)
Reported by: dimas
Handle the -1 control subclass during feature dialing (it indicates to stop sounds).

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

By: Digium Subversion (svnbot) 2007-08-30 09:07:52

Repository: asterisk
Revision: 81370

------------------------------------------------------------------------
r81370 | file | 2007-08-30 09:07:52 -0500 (Thu, 30 Aug 2007) | 12 lines

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

........
r81369 | file | 2007-08-30 11:23:40 -0300 (Thu, 30 Aug 2007) | 4 lines

(issue ASTERISK-10197)
Reported by: dimas
Handle the -1 control subclass during feature dialing (it indicates to stop sounds).

........

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

By: Steve Murphy (murf) 2007-08-30 16:53:21

Assuming file got the control frame -1 issue, and I nailed the CDR init message via v. 81392 for 1.4, and 81393 for trunk, then this issue is ready to close.