[Home]

Summary:ASTERISK-07955: Sent wrong event "newchannel" in case of "newstate"
Reporter:Anton Fedorov (datacompboy)Labels:
Date Opened:2006-10-18 11:25:50Date Closed:2006-10-18 22:12:37
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/ManagerInterface
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:On Dial() we have got following sequence of events:
<<0.384.0>> Got packet: [<<"Uniqueid: 1161188037.7\r\n">>,      
                        <<"CallerIDName: <unknown>\r\n">>,    
                        <<"CallerID: <unknown>\r\n">>,        
                        <<"State: Down\r\n">>,                
                        <<"Channel: SIP/120001-08310560\r\n">>,
                        <<"Privilege: call,all\r\n">>,        
                        <<"Event: Newchannel\r\n">>]          
<<0.384.0>> Got packet: [<<"DestUniqueID: 1161188037.7\r\n">>,      
                        <<"SrcUniqueID: 1161188037.6\r\n">>,      
                        <<"CallerID: <unknown>\r\n">>,            
                        <<"Destination: SIP/120001-08310560\r\n">>,
                        <<"Source: Local/1@ps_out-55f0,2\r\n">>,  
                        <<"Privilege: call,all\r\n">>,            
                        <<"Event: Dial\r\n">>]                    
<<0.384.0>> Got packet: [<<"CID-CallingPres: 0 (Presentation Allowed, Not Screened)\r\n">>,
                        <<"Uniqueid: 1161188037.7\r\n">>,
                        <<"CallerIDName: <Unknown>\r\n">>,
                        <<"CallerID: 1\r\n">>,
                        <<"Channel: SIP/120001-08310560\r\n">>,
                        <<"Privilege: call,all\r\n">>,
                        <<"Event: Newcallerid\r\n">>]
<<0.384.0>> Got packet: [<<"Uniqueid: 1161188037.7\r\n">>,
                        <<"CallerIDName: <unknown>\r\n">>,
                        <<"CallerID: 1\r\n">>,
                        <<"State: Ringing\r\n">>,
                        <<"Channel: SIP/120001-08310560\r\n">>,
                        <<"Privilege: call,all\r\n">>,
                        <<"Event: Newchannel\r\n">>]
....
 Last show event in that sequence should be "Newstate", since SIP/120001-08310560 are already created and in state "Down", and it just change state from "Down" to "Ringing".
Comments:By: Russell Bryant (russell) 2006-10-18 22:12:37

There is a bug already open on this issue