[Home]

Summary:ASTERISK-11854: Soft Hangup un called channel of Dial() returns NO ANSWER
Reporter:Atis Lezdins (atis)Labels:
Date Opened:2008-04-15 08:47:05Date Closed:2011-06-07 14:07:59
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_dial
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Dial from SIP/90133 to SIP/90086, creates child channel SIP/90086-008a9700 and sets it to Ringing state. If "soft hangup SIP/90086-008a9700" is executed while it's still ringing, Dial() returns "NO ANSWER" in DIALSTATUS. From current return values, CANCEL seams to be most reasonable, but anything else should be ok too. NO ANSWER is least describing response for this situation.



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

[Apr 15 06:36:08] VERBOSE[6815] logger.c:     -- Executing [21173@local_dial:81] Dial("SIP/90133-ac1ed210", "SIP/90086|30|gtM(agent_call_answer^21173)") in new stack
[Apr 15 06:36:08] DEBUG[6815] res_config_mysql.c: MySQL RealTime: Everything is fine.
[Apr 15 06:36:08] DEBUG[6815] res_config_mysql.c: MySQL RealTime: Insert SQL: INSERT INTO channels SET uniqueid = '1208266568.712', started = '1208266568', channel = 'SIP/90086-00
[Apr 15 06:36:08] DEBUG[6815] res_config_mysql.c: MySQL RealTime: row inserted on table: channels, id: 0
[Apr 15 06:36:08] VERBOSE[6815] logger.c:     -- Called 90086
[Apr 15 06:36:08] DEBUG[6815] res_config_mysql.c: MySQL RealTime: Everything is fine.
[Apr 15 06:36:08] DEBUG[6815] res_config_mysql.c: MySQL RealTime: Update SQL: UPDATE channels SET callerid_num = '21173', callerid_name = '', accountcode = '1208266567.711', conte
[Apr 15 06:36:08] DEBUG[6815] res_config_mysql.c: MySQL RealTime: Updated 1 rows on table: channels
[Apr 15 06:36:08] VERBOSE[6815] logger.c:     -- SIP/90086-008a9700 is ringing
[Apr 15 06:36:14] DEBUG[6815] res_config_mysql.c: MySQL RealTime: Everything is fine.
[Apr 15 06:36:14] DEBUG[6815] res_config_mysql.c: MySQL RealTime: Delete SQL: DELETE FROM channels WHERE uniqueid = '1208266568.712'
[Apr 15 06:36:14] DEBUG[6815] res_config_mysql.c: MySQL RealTime: Deleted 1 rows on table: channels
[Apr 15 06:36:14] VERBOSE[6815] logger.c:     -- No one is available to answer at this time (1:0/0/0)
[Apr 15 06:36:14] VERBOSE[6815] logger.c:     -- Executing [21173@local_dial:82] Set("SIP/90133-ac1ed210", "__target_1_disposition=NOANSWER") in new stack
[Apr 15 06:36:14] VERBOSE[6815] logger.c:     -- Executing [21173@local_dial:83] Set("SIP/90133-ac1ed210", "DB(call_globals/1208266567.711/target_1_disposition)=NOANSWER") in new
[Apr 15 06:36:14] VERBOSE[6815] logger.c:     -- Executing [21173@local_dial:84] GotoIf("SIP/90133-ac1ed210", "1?85:88") in new stack
[Apr 15 06:36:14] VERBOSE[6815] logger.c:     -- Goto (local_dial,21173,85)
[Apr 15 06:36:14] VERBOSE[6815] logger.c:     -- Executing [21173@local_dial:85] Goto("SIP/90133-ac1ed210", "sw-104-NOANSWER|10") in new stack
[Apr 15 06:36:14] VERBOSE[6815] logger.c:     -- Goto (local_dial,sw-104-NOANSWER,10)
Comments:By: Tilghman Lesher (tilghman) 2008-04-15 21:29:18

Since this is not technically a bug, but rather a suggested change, it needs to be discussed on the asterisk-dev list, not on the issue tracker.  I am therefore suspending this issue.  Please send an email to the asterisk-dev list, describing what you think Asterisk should do, and we can reopen this issue in a week's time, following discussion as to what course of action we should take.  However, I am uncomfortable with making a behavior change such as this in 1.4, as this is not strictly a bug.