<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I am working on a VoLTE/IMS scenario to transfer text messages as SMS over IP (+g.3gpp.smsip feature) between UE’s.  This is a high-level view of the message flows between the endpoints (not showing CSCFs):<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-family:"Courier New"'>UE1                                 IP-SM-GW<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> |---- MESSAGE (SUBMIT) --------------->|<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> |<------------------- 202 ACCEPTED ----|<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> |                                      | <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> |<-------- MESSAGE (SUBMIT_REPORT) ----|<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> |---- 200 OK ------------------------->|<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>                                        |  <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>UE2                                     |<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> |                                      |  <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> |<-------------- MESSAGE (DELIVER) ----|<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> |---- 200 OK ------------------------->|</span><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The messages does get transferred from UE1 to UE2 successfully.  Since this is GSM-style SMS, the OA (originating address) and DA (destination address) are specified using telephone numbers, not sip addresses.  This is not a problem for the DA, since it is specified in the SUBMIT TPDU from the originating handset, but when the IP-SM-GW sends the DELIVER TPDU it needs to specify the OA so that the recipient knows who sent the SMS, and this was not provided in the MESSAGE with the SMS-SUBMIT.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>According to 3GPP TS 24.341 (http://www.qtc.jp/3GPP/Specs/24341-b20.pdf):<o:p></o:p></p><p class=MsoNormal>"The IP-SM-GW will have to use an address of the SM-over-IP sender that the SC can process (i.e. an E.164 number).  This address will come from a tel URI in a P-Asserted-Identity header (as defined in RFC 3325 [13]) placed in the SIP MESSAGE request by the P-CSCF or S-CSCF."<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Looking at the MESSAGE request sent from the S-CSCF to the IP-SM-GW, it looks like neither the P-CSCF nor the S-CSCF is providing the tel address in a P-Asserted-Identity header:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-family:"Courier New"'>MESSAGE tel:+3108012345680 SIP/2.0<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>Route: <sip:defaultapp@tas.core.ims1.test;lr>, <sip:iscmark@scscf.core.ims1.test:6060;lr;s=1;h=0;d=0;a=7369703a30303130333031323334353637383940696d732e6d6e633030332e6d63633030312e336770706e6574776f726b2e6f7267><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>P-Served-User: <sip:001030123456789@ims.mnc003.mcc001.3gppnetwork.org>;sescase=orig;regstate=reg<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>f: <sip:001030123456789@ims.mnc003.mcc001.3gppnetwork.org>;tag=2703358633<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>t: <tel:+3108012345680><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>CSeq: 555874977 MESSAGE<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>i: 2703358625_2324045032@2001:470:eb88:b021:27f:9507:589d:c201<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>Via: SIP/2.0/UDP [2001:470:EB88:150:0:0:0:22]:6060;branch=z9hG4bKb857.bd3345ba81ec10b1d11639d9c7414606.0;i=a<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>Via: SIP/2.0/TCP [2001:470:EB88:150:5054:FF:FE44:BFC9];branch=z9hG4bKb857.be53cc1c583b9c5f9dcebf3306f2b7c1.0<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>v: SIP/2.0/UDP [2001:470:eb88:b021:27f:9507:589d:c201]:8906;rport=8013;branch=z9hG4bK3552622488<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>Max-Forwards: 68<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>P-Access-Network-Info: 3GPP-E-UTRAN-FDD; utran-cell-id-3gpp=0010300030000001<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>c: application/vnd.3gpp.sms<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>Allow: MESSAGE<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>d: no-fork<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>User-Agent: Xiaomi_Redmi 3S_Android6.0.1_9<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>l: 27<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>P-Charging-Vector: icid-value=49565300000000511100004B01000000; icid-generated-at=2001:470:EB88:150:5054:FF:FE44:BFC9<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>P-Asserted-Identity: <sip:001030123456789@ims.mnc003.mcc001.3gppnetwork.org><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>P-Visited-Network-ID: core.ims1.test<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>Message Body<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>    GSM A-I/F RP - RP-DATA (MS to Network)<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>        Message Type RP-DATA (MS to Network)<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>        RP-Message Reference<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>            RP-Message Reference: 0x05 (5)<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>        RP-Originator Address<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>        RP-Destination Address - (3108012345680)<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>        RP-User Data<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>            Length: 14<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>            TPDU (not displayed)<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>     GSM SMS TPDU (GSM 03.40) SMS-SUBMIT<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>           0... .... = TP-RP: TP Reply Path parameter is not set in this SMS SUBMIT/DELIVER<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>           .0.. .... = TP-UDHI: The TP UD field contains only the short message<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>           ..1. .... = TP-SRR: A status report is requested<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>           ...0 0... = TP-VPF: TP-VP field not present (0)<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>           .... .0.. = TP-RD: Instruct SC to accept duplicates<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>           .... ..01 = TP-MTI: SMS-SUBMIT (1)<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>           TP-MR: 92<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>           TP-Destination-Address - (8000)<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>           TP-PID: 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>           TP-DCS: 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>           TP-User-Data-Length: (5) depends on Data-Coding-Scheme<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>           TP-User-Data<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>                SMS text: HELLO</span><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Is this something that in configurable at the P-CSCF or the S-CSCF, or would it require now development?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks,<o:p></o:p></p><p class=MsoNormal>Ron<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>