[asterisk-bugs] [JIRA] (ASTERISK-22924) PJSIP MESSAGE support does not present the contact information on outbound messages
Kevin Harwell (JIRA)
noreply at issues.asterisk.org
Fri Dec 27 13:03:02 CST 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-22924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=213318#comment-213318 ]
Kevin Harwell commented on ASTERISK-22924:
------------------------------------------
Hi Anthony, it is correct behaviour for it to replace what is in the To/From header(s) with what is specified on the AOR/Contact for an endpoint. If you want the display and/or domain name to show those can be specified in a permanent AOR/Contact option as well: contact="name" <sip:name at domain>
However there were a few items with regard to this issue that needed "fixing up", including propagating the display name given in a To/From header under certain circumstances (if the To/From contains a display name and are used as the to/from fields in the MessageSend app). Those are currently being reviewed if you like to take a look and/or have comments: https://reviewboard.asterisk.org/r/3094/
Also, I have been unable to reproduce the translation from sip: to sips: issue you mentioned. If what's on the AOR/Contact is sips: then that might explain why it is being replaced as explained above. If it is not specified on the aor/contact then if you have more info that might shed some light onto why that is happening it would be appreciated (if possible can you attach your pjsip.conf).
Thanks!
> 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: 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