Summary: | ASTERISK-25421: PJSIP. MESSAGE_SEND_STATUS set to SUCCESS in spite of the error when sending | ||
Reporter: | Dmitriy Serov (Demon) | Labels: | |
Date Opened: | 2015-09-25 10:11:19 | Date Closed: | 2020-01-28 10:18:49.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Resources/res_pjsip_messaging |
Versions: | 13.5.0 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | {noformat}
[2015-09-25 17:43:46] VERBOSE[16050][C-0000034f] res_agi.c: AGI Script Executing Application: (MessageSend) Options: (pjsip:10228,100<sip:100@ruvoip.net>) [2015-09-25 17:43:46] VERBOSE[16050][C-0000034f] res_agi.c: <Message/ast_msg_queue>AGI Script agi-talk37.php completed, returning 0 [2015-09-25 17:43:46] ERROR[10332] res_pjsip.c: Unable to retrieve contact for endpoint 10228 [2015-09-25 17:43:46] ERROR[10332] res_pjsip_messaging.c: PJSIP MESSAGE - Could not create request {noformat} After this error: {noformat} ${MESSAGE_SEND_STATUS} == "SUCCESS" {noformat} I guess {{res/res_pjsip_messaging.c}} {{sip_msg_send()}} using {{ast_sip_push_task()}} and any errors during {{msg_send()}} does not return the result. | ||
Comments: | By: Asterisk Team (asteriskteam) 2015-09-25 10:11:21.109-0500 Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report. Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process]. By: Friendly Automation (friendly-automation) 2020-01-28 10:18:50.998-0600 Change 13693 merged by Friendly Automation: res_pjsip_messaging: Ensure MESSAGE_SEND_STATUS is set properly [https://gerrit.asterisk.org/c/asterisk/+/13693|https://gerrit.asterisk.org/c/asterisk/+/13693] By: Friendly Automation (friendly-automation) 2020-01-28 10:20:13.434-0600 Change 13674 merged by Friendly Automation: res_pjsip_messaging: Ensure MESSAGE_SEND_STATUS is set properly [https://gerrit.asterisk.org/c/asterisk/+/13674|https://gerrit.asterisk.org/c/asterisk/+/13674] By: Friendly Automation (friendly-automation) 2020-01-28 10:23:10.164-0600 Change 13694 merged by Friendly Automation: res_pjsip_messaging: Ensure MESSAGE_SEND_STATUS is set properly [https://gerrit.asterisk.org/c/asterisk/+/13694|https://gerrit.asterisk.org/c/asterisk/+/13694] By: Friendly Automation (friendly-automation) 2020-01-28 10:23:22.212-0600 Change 13695 merged by Friendly Automation: res_pjsip_messaging: Ensure MESSAGE_SEND_STATUS is set properly [https://gerrit.asterisk.org/c/asterisk/+/13695|https://gerrit.asterisk.org/c/asterisk/+/13695] |