[asterisk-bugs] [JIRA] (ASTERISK-29631) pjsip - MessageSend error

Mathieu Therrien (JIRA) noreply at issues.asterisk.org
Mon Sep 6 19:36:33 CDT 2021


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=256165#comment-256165 ] 

Mathieu Therrien commented on ASTERISK-29631:
---------------------------------------------

For info, this is my dialplan, it worked until upgrade version
[sms-out]
exten => _X.,1,NoOp(Outbound Message dialplan invoked)
 same =>     n,NoOp(To ${MESSAGE(to)})
 same =>     n,NoOp(From ${MESSAGE(from)})
 same =>     n,NoOp(Body ${MESSAGE(body)})
 same =>     n,Set(NUMBER_FROM=${CUT(CUT(MESSAGE(from),@,1),:,2)})
 same =>     n,Set(NUMBER_TO=${CUT(CUT(MESSAGE(to),@,1),:,2)})
 same =>     n,Set(ACTUAL_FROM="${NUMBER_FROM}" <sip:user at realm>)
 same =>     n,Set(ACTUAL_TO=pjsip:voipms/sip:${NUMBER_TO}@realm>)
 same =>     n,MessageSend(${ACTUAL_TO}, ${ACTUAL_FROM})
 same =>     n,NoOp(Send status is ${MESSAGE_SEND_STATUS})
 same =>     n,Hangup()


> pjsip - MessageSend error
> -------------------------
>
>                 Key: ASTERISK-29631
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29631
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 18.5.1
>         Environment: Unix/FreeBSD
>            Reporter: Mathieu Therrien
>
> Asterisk stopped to send SMS.  I've got this error message.
> ERROR[100374]: res_pjsip.c:4420 int create_out_of_dialog_request(const pjsip_method *, struct ast_sip_endpoint *, const char *, struct ast_sip_contact *, pjsip_tx_data **): Unable to create outbound MESSAGE request to endpoint voipms as URI 'sip:9999999999 at server.voip.com>' is not valid
> I search for same issue, but was not documented or reported



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list