[asterisk-bugs] [JIRA] (ASTERISK-25421) PJSIP. MESSAGE_SEND_STATUS set to SUCCESS in spite of the error when sending

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Fri Sep 25 11:21:33 CDT 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Mudgett updated ASTERISK-25421:
---------------------------------------

    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 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.

  was:
[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

After this error:
${MESSAGE_SEND_STATUS} == "SUCCESS"

I gues:
res/res_pjsip_messaging.c
sip_msg_send using ast_sip_push_task and any errors during msg_send does not returns as the result.


> 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