[asterisk-bugs] [JIRA] (ASTERISK-22924) PJSIP MESSAGE support does not present the contact information on outbound messages

Anthony Messina (JIRA) noreply at issues.asterisk.org
Tue Dec 31 03:47:03 CST 2013


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

Anthony Messina updated ASTERISK-22924:
---------------------------------------

    Attachment: asterisk_transaction_MESSAGE_2013-12-31_no_from_domain.txt

This attachment details a simple message from "A User" <auser at example.com> to "B User" <buser at example.com>.  Thankfully with the patch posted in the Reviewboard, the From: and To: usernames are no longer stripped.

However, Asterisk still needs to respect the from_domain parameter when sending MESSAGEs via MessageSend, as it did in Asterisk 11.

Without proper from_domain support, when <buser> receives this message, its SIP client can only display the message as being from "A User" <sips:auser at 10.77.79.204>.  When <buser> tries to "Reply" to <auser>, the message *may* not be sent back via Asterisk (depending on the UAC).  In addition, this creates a new contextual dialog on <auser>'s UAC.

The from_domain support allows UACs to group MESSAGEs logically in a sort of "conversation" between two endpoints.

I realize that MESSAGE support doesn't support true dialog-type converstations and that each MESSAGE is independent, but from_domain support allows PJSIP MESSAGEing to function as it had in Asterisk 11, and also support what the end user would expect when sending and receiving SIP MESSAGEs from their UACs.

It should also be noted that this example also demonstrates the change from "sip" to "sips", which also hampers a UAC's ability to group messages logically.

I my case both UACs are CSipSimple, which also use PJSIP as the SIP stack.
                
> PJSIP MESSAGE support does not present the contact information on outbound messages
> -----------------------------------------------------------------------------------
>
>                 Key: ASTERISK-22924
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22924
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip_messaging
>    Affects Versions: 12.0.0-beta1
>         Environment: Fedora 19 x86_64
>            Reporter: Anthony Messina
>            Assignee: Kevin Harwell
>            Severity: Minor
>         Attachments: asterisk_transaction_MESSAGE_2013-12-31_no_from_domain.txt, pjsip_message_fromdomain.txt
>
>
> When processing SIP MESSAGE requests, PJSIP does not add/retain the contact information of the sender on the outbound message, which makes it difficult for clients to display messages in a usable fashion.  Primarily, the "User Name" portion of the callerid is removed from the "From" header, and the fromdomain/from_domain is replaced with the IP addr of the AOR.  Also, it modifies "sip" to "sips".
> {code}
> From: <sips:testuser at 10.1.2.204>;tag=d3df0476-9b58-4565-b300-8cb7bad5f514
> {code}
> I'll attach pjsip logs for one inbound/outbound circuit where I'm simply sending a MESSAGE to myself.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list