[Home]

Summary:ASTERISK-24966: Document limitation of MessageSend regarding AOR destination
Reporter:Alex A. Welzl (awelzl)Labels:
Date Opened:2015-04-15 05:15:54Date Closed:
Priority:MinorRegression?
Status:Open/NewComponents:Documentation Resources/res_pjsip
Versions:13.2.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Attachments:
Description:If I send a SIP message to the extension where more than 1 device is registered, only the first device in the AOR list receives the message.

AOR list:
{noformat}
Aor:  3280                                                 3
Contact:  3280/sip:3280@172.16.11.33:5060;transport=TLS      Avail              21.874
Contact:  3280/sip:3280@172.16.11.41:5074;transport=TLS      Avail              20.321
{noformat}

Code:
{noformat}
same => n,NoOp(To: ${MESSAGE(to)})
same => n,NoOp(From: ${MESSAGE(from)})
same => n,NoOp(Message: ${MESSAGE(body)})
same => n,Set(ACTUALTO=${CUT(MESSAGE(to),@,1)})
same => n,MessageSend(${ACTUALTO},${MESSAGE(from)})
same => n,NoOp(Send status is ${MESSAGE_SEND_STATUS})
{noformat}

I am sending to pgsip/3280 and only the phone on IP .33 (first in the AOR list) is receiving the message.
Comments:By: Rusty Newton (rnewton) 2015-04-15 14:44:02.401-0500

I talked with [~mmichelson] and unfortunately this is a limitation at the moment, but not really a bug. Do you want to submit a patch to improve the behavior of MessageSend?

By: Alex A. Welzl (awelzl) 2015-04-16 02:21:04.710-0500

THX, I cannot provide you with a patch at the moment.
To clarify the behaviour: Which AOR is being taken by MessageSend?
The first one? A random one? The last one which registered?
Please add the request to your feature request list.

By: Rusty Newton (rnewton) 2015-04-30 16:45:48.348-0500

Yeah, good point. Clarification would be nice for the documentation on MessageSend.

Though we don't have a patch to improve behavior. I'll open this as a documentation bug.

We should improve the application help text to describe which AOR and contact will be used as the destination by MessageSend when using PJSIP technology.

By: Rusty Newton (rnewton) 2015-05-05 09:01:14.560-0500

Or, as [~mjordan] pointed out, we should probably document this under PJSIP AOR and Contacts documentation as the MessageSend app is channel tech agnostic. Perhaps we could put a reminder in MessageSend to check the channel tech specific documentation.