[asterisk-bugs] [JIRA] (ASTERISK-29631) pjsip - MessageSend error
George Joseph (JIRA)
noreply at issues.asterisk.org
Tue Sep 7 07:48:33 CDT 2021
[ https://issues.asterisk.org/jira/browse/ASTERISK-29631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=256165#comment-256165 ]
George Joseph edited comment on ASTERISK-29631 at 9/7/21 7:48 AM:
------------------------------------------------------------------
For info, this is my dialplan, it worked until upgrade version
{code}
[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()
{code}
was (Author: ve2tmq):
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:[dst phone number]@server.voip.ms>' 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