http://www.pjsip.org/pjsip/docs/html/group__PJSUA__LIB__CALL.htm#g502b0a6449cc5f67517b72df6a88c727 use parameter "msg_data" klaus David Clark schrieb: > I would like to add user-to-user: information in a pjsip outbound invite > so the invite looks something like this: > 18:51:53.893 CALL(SIP) (04:00003:01) > <--- [10.129.47.147, 5060 <- 10.129.44.171, 5060] > INVITE sip:2145551212 at 10.129.47.147:5060 SIP/2.0\r\n > Via: SIP/2.0/UDP > 10.129.44.171:5060;rport;branch=z9hG4bK > -5d5a-1196967113-19997-373\r\n > Call-ID: > 1b0b-402-1162007185153-ANSI_SIP_UUI-4 at 10.129.44 > .171\r\n > CSeq: 1 INVITE\r\n > Max-Forwards: 70\r\n > To: <sip:2145551212 at 10.129.47.147:5060>\r\n > From: > <sip:2125551212 at 10.129.44.171>;tag=95ffcd055e0f78f > 7d5d397020e89288d96b52669\r\n > User-Agent: Cantata-SIP/10.5.0.148 ANSI_SIP_UUI > 4\r\n > > User-to-User: THE QUICK BROWN FOX JUMPS OVER THE > LAZY DO > G\r\n > > Contact: <sip:2125551212 at 10.129.44.171:5060>\r\n > Allow: INVITE, BYE, REGISTER, ACK, OPTIONS, > CANCEL, SUBS > CRIBE, NOTIFY, INFO, UPDATE\r\n > Supported: path, timer\r\n > Session-Expires: 1800\r\n > Expires: 300\r\n > Organization: Dialogic Inc\r\n > Content-Type: application/sdp\r\n > Content-Length: 164\r\n > \r\n > v=0\r\n > o=Cantata_SDP 0 0 IN IP4 10.129.44.171\r\n > s=Cantata-SIP\r\n > c=IN IP4 10.129.44.166\r\n > t=0 0\r\n > m=audio 8008 RTP/AVP 0\r\n > a=rtpmap:0 PCMU/8000\r\n > a=silenceSupp:off - - - -\r\n > > > Any ideas how to get the user-to-user:string field to show up like it > goes here? > > Thanks, > David Clark > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org