[asterisk-bugs] [JIRA] (ASTERISK-25421) PJSIP. MESSAGE_SEND_STATUS set to SUCCESS in spite of the error when sending
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Tue Jan 28 10:24:25 CST 2020
[ https://issues.asterisk.org/jira/browse/ASTERISK-25421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249575#comment-249575 ]
Friendly Automation commented on ASTERISK-25421:
------------------------------------------------
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]
> PJSIP. MESSAGE_SEND_STATUS set to SUCCESS in spite of the error when sending
> ----------------------------------------------------------------------------
>
> Key: ASTERISK-25421
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-25421
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_pjsip_messaging
> Affects Versions: 13.5.0
> Reporter: Dmitriy Serov
>
> {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 at 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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list