Adrian<br>I'm using msrps now. Still I get the same 488 message. Note that my client uses MSRP Relay procedure. Before it send the INVITE , it sends an msrpAuth (TLS auth) , gets a msrp relay path , puts that in SDP and then sends it. This is how we send MSRP File trasnfer with other MSRP peers. I guess the chat server is expecting the UA to open a direct TLS pip for MSRP. AM I right ? Even though we use msrps in SDP, the m=field in SDK still has TCP, not TLS. IS this the problem ? If I change that to TLS will it work ?<br>
<br>Here is the trace.<br><br><br><br> msrpAuth calling relayAuth ..<br> AppProcessMessage BIND_RESPONSE The operation was successful<br> OpenSSL connect successful<br> AppProcessMessage CONNECT_RESPONSE The operation was successful<br>
msrpAuth call returned...<br> acOutIM_PlaceCall Media Relay Auth Success for SessionHdl = 1 relayUsePath = msrps://<a href="http://63.148.166.215:2855/Di6RIi0+0KMIoiwi6X5izjEyNTczNzUxODkuMzAyOjYzLjE0OC4xNjY">63.148.166.215:2855/Di6RIi0+0KMIoiwi6X5izjEyNTczNzUxODkuMzAyOjYzLjE0OC4xNjY</a><br>
uMw==;tcp msrps://<a href="mailto:car1@mydomain.com">car1@mydomain.com</a>;tcp<br><br> --------------------------------------------------------------<br><br> INVITE <a href="mailto:sip%3Aimconference@mydomain.com">sip:imconference@mydomain.com</a> SIP/2.0<br>
Via: SIP/2.0/UDP 172.16.1.125:7146;rport;branch=z9hG4bK222612060-22410152<br> Max-Forwards: 70<br> Allow: INVITE,BYE,CANCEL,ACK,INFO,PRACK,OPTIONS,SUBSCRIBE,NOTIFY,PUBLISH,MESSAGE,REFER,REGISTER,UPDATE<br> Supported: timer,replaces,norefersub,100rel<br>
Accept-Contact: *;+g.oma.sip-im<br> User-Agent: SMSI IMS Client R02.0.00<br> P-Preferred-Identity: <a href="mailto:sip%3Acar1@mydomain.com">sip:car1@mydomain.com</a><br> From: car1<<a href="mailto:sip%3Acar1@mydomain.com">sip:car1@mydomain.com</a>>;tag=smsiUA_222612060-22410153<br>
To: <<a href="mailto:sip%3Aimconference@mydomain.com">sip:imconference@mydomain.com</a>><br> Call-ID: 222612060-22410151<br> CSeq: 1 INVITE<br> Contact: car1<sip:car1@172.16.1.125:7146;transport=udp>;+g.oma.sip-im<br>
Content-Type: application/sdp<br> Content-Length: 384<br> <br> v=0<br> o=SMSI 256 2 IN IP4 172.16.1.125<br> s=SipSession with SMSIUA<br> i=SIP Session in SMSIUA<br> u=<a href="http://www.mydomain.com">http://www.mydomain.com</a><br>
c=IN IP4 172.16.1.125<br> t=0 0<br> m=message 8876 TCP/MSRP *<br> c=IN IP4 172.16.1.125<br> a=accept-types:Message/CPIM text/plain<br> a=path:msrps://<a href="http://63.148.166.215:2855/Di6RIi0+0KMIoiwi6X5izjEyNTczNzUxODkuMzAyOjYzLjE0OC4xNjYuMw==;tcp">63.148.166.215:2855/Di6RIi0+0KMIoiwi6X5izjEyNTczNzUxODkuMzAyOjYzLjE0OC4xNjYuMw==;tcp</a> msrps://<a href="mailto:car1@mydomain.com">car1@mydomain.com</a>;tcp<br>
a=sendrecv<br> --------------------------------------------------------------<br><br> acOutIM_PlaceCall Succeded SessionId = 23<br> IMEnabled::Trying<br><br> Wed Nov 04 16:37:12 2009<br> <br> ------------------------------------------------------------<br>
SIP/2.0 100 Giving a try<br> Via: SIP/2.0/UDP 172.16.1.125:7146;rport=15528;branch=z9hG4bK222612060-22410152;received=63.148.166.3<br> From: car1<<a href="mailto:sip%3Acar1@mydomain.com">sip:car1@mydomain.com</a>>;tag=smsiUA_222612060-22410153<br>
To: <<a href="mailto:sip%3Aimconference@mydomain.com">sip:imconference@mydomain.com</a>><br> Call-ID: 222612060-22410151<br> CSeq: 1 INVITE<br> Server: OpenSIPS (1.5.3-tls (i386/linux))<br> Content-Length: 0<br> <br>
--------------------------------------------------------------<br><br> Got a message on UDP<br> <br> ------------------------------------------------------------<br> Trace generated at : <br> Wed Nov 04 16:37:12 2009<br>
<br> ------------------------------------------------------------<br> SIP/2.0 488 Not Acceptable Here<br> Via: SIP/2.0/UDP 172.16.1.125:7146;rport=15528;received=63.148.166.3;branch=z9hG4bK222612060-22410152<br> Call-ID: 222612060-22410151<br>
From: "car1" <<a href="mailto:sip%3Acar1@mydomain.com">sip:car1@mydomain.com</a>>;tag=smsiUA_222612060-22410153<br> To: <<a href="mailto:sip%3Aimconference@mydomain.com">sip:imconference@mydomain.com</a>>;tag=ush3.lWer92-QdTNqGG-52kLWY16sROg<br>
CSeq: 1 INVITE<br> Server: sip-chatserver-0.9.2<br> Content-Length: 0<br> <br> Got an Event<br><br><br><div class="gmail_quote">On Wed, Nov 4, 2009 at 3:23 PM, Adrian Georgescu <span dir="ltr"><<a href="mailto:ag@ag-projects.com">ag@ag-projects.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="">You must use TLS, see SDP example below:<div><br></div><div><div style="margin: 0px;">
<span style="color: rgb(255, 128, 0);">SENDING:</span> Packet 11, +0:00:41.217882</div><div style="margin: 0px;">2009-11-04 22:22:22.660361: <a href="http://192.168.1.124:58143" target="_blank">192.168.1.124:58143</a> -(SIP over UDP)-> <a href="http://81.23.228.129:5060" target="_blank">81.23.228.129:5060</a></div>
<div style="margin: 0px;"><b>INVITE <a>sip:test@chatserver.ag-projects.com</a> SIP/2.0</b></div><div style="margin: 0px;">Via: SIP/2.0/UDP 192.168.1.124:58143;rport;branch=z9hG4bKPjSF0ovdCJTdFi3LOJR9br4y6Ub-7z5ZwI</div><div style="margin: 0px;">
Max-Forwards: 70</div><div style="margin: 0px;">From: "Adrian G." <<a>sip:31208005169@ag-projects.com</a>>;tag=fQJyDYb06LqeemqHW8pX3L6i4xaxmPIs</div><div style="margin: 0px;">To: <<a>sip:test@chatserver.ag-projects.com</a>></div>
<div style="margin: 0px;">Contact: <<a>sip:uazgqevb@192.168.1.124:58143</a>></div><div style="margin: 0px;">Call-ID: prtAsF0Fp5eRkQdnNfcY59zEPOYjBhUU</div><div style="margin: 0px;">CSeq: 11220 INVITE</div><div style="margin: 0px;">
Route: <<a>sip:81.23.228.129;lr</a>></div><div style="margin: 0px;">Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE</div><div style="margin: 0px;">Supported: 100rel</div><div style="margin: 0px;">
User-Agent: blink-0.10.4-beta</div><div style="margin: 0px;">Proxy-Authorization: Digest username="31208005169", realm="<a href="http://ag-projects.com" target="_blank">ag-projects.com</a>", nonce="4af1f0ac56c8329304dd616851ff758d1c56b7ea", uri="<a>sip:test@chatserver.ag-projects.com</a>", response="584521bbc6a8211222d8a7343f148c55"</div>
<div style="margin: 0px;">Content-Type: application/sdp</div><div style="margin: 0px;">Content-Length: 258</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">v=0</div><div style="margin: 0px;">
o=- 3466358542 3466358542 IN IP4 192.168.1.124</div><div style="margin: 0px;">s=blink-0.10.4-beta</div><div style="margin: 0px;">c=IN IP4 192.168.1.124</div><div style="margin: 0px;">t=0 0</div><div style="margin: 0px;">m=message 2855 TCP/TLS/MSRP *</div>
<div style="margin: 0px;">a=path:msrps://<a href="http://192.168.1.124:2855/a328a18ea183e864b8c8;tcp" target="_blank">192.168.1.124:2855/a328a18ea183e864b8c8;tcp</a></div><div style="margin: 0px;">a=accept-types:message/cpim text/*</div>
<div style="margin: 0px;">a=accept-wrapped-types:*</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;"><span style="color: rgb(0, 0, 255);">RECEIVED:</span> Packet 12, +0:00:41.249248</div>
<div style="margin: 0px;">2009-11-04 22:22:22.691727: <a href="http://81.23.228.129:5060" target="_blank">81.23.228.129:5060</a> -(SIP over UDP)-> <a href="http://192.168.1.124:58143" target="_blank">192.168.1.124:58143</a></div>
<div style="margin: 0px;"><b>SIP/2.0 100 Giving a try</b></div><div style="margin: 0px;">Via: SIP/2.0/UDP 192.168.1.124:58143;rport=58143;branch=z9hG4bKPjSF0ovdCJTdFi3LOJR9br4y6Ub-7z5ZwI;received=80.101.96.20</div><div style="margin: 0px;">
From: "Adrian G." <<a>sip:31208005169@ag-projects.com</a>>;tag=fQJyDYb06LqeemqHW8pX3L6i4xaxmPIs</div><div style="margin: 0px;">To: <<a>sip:test@chatserver.ag-projects.com</a>></div><div style="margin: 0px;">
Call-ID: prtAsF0Fp5eRkQdnNfcY59zEPOYjBhUU</div><div style="margin: 0px;">CSeq: 11220 INVITE</div><div style="margin: 0px;">Server: SIP Thor on OpenSIPS XS 1.4.5</div><div style="margin: 0px;">Content-Length: 0</div><div style="margin: 0px; min-height: 14px;">
<br></div><div style="margin: 0px;"><span style="color: rgb(0, 0, 255);">RECEIVED:</span> Packet 13, +0:00:41.270382</div><div style="margin: 0px;">2009-11-04 22:22:22.712861: <a href="http://81.23.228.129:5060" target="_blank">81.23.228.129:5060</a> -(SIP over UDP)-> <a href="http://192.168.1.124:58143" target="_blank">192.168.1.124:58143</a></div>
<div style="margin: 0px;"><b>SIP/2.0 200 OK</b></div><div style="margin: 0px;">Via: SIP/2.0/UDP 192.168.1.124:58143;rport=58143;received=80.101.96.20;branch=z9hG4bKPjSF0ovdCJTdFi3LOJR9br4y6Ub-7z5ZwI</div><div style="margin: 0px;">
Record-Route: <<a>sip:85.17.186.7;lr;ftag=fQJyDYb06LqeemqHW8pX3L6i4xaxmPIs;did=69b.62cb94c2</a>></div><div style="margin: 0px;">Record-Route: <<a>sip:81.23.228.129;lr;ftag=fQJyDYb06LqeemqHW8pX3L6i4xaxmPIs;did=69b.9aa264a6</a>></div>
<div style="margin: 0px;">Call-ID: prtAsF0Fp5eRkQdnNfcY59zEPOYjBhUU</div><div style="margin: 0px;">From: "Adrian G." <<a>sip:31208005169@ag-projects.com</a>>;tag=fQJyDYb06LqeemqHW8pX3L6i4xaxmPIs</div><div style="margin: 0px;">
To: <<a>sip:test@chatserver.ag-projects.com</a>>;tag=ZwvT6xOtX.ESzg4usO-fgyEUZsUZo9fd</div><div style="margin: 0px;">CSeq: 11220 INVITE</div><div style="margin: 0px;">Contact: <<a>sip:test@81.23.228.146:6060</a>></div>
<div style="margin: 0px;">Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE</div><div style="margin: 0px;">Supported: 100rel</div><div style="margin: 0px;">Server: sip-chatserver-0.9.2</div><div style="margin: 0px;">
Content-Type: application/sdp</div><div style="margin: 0px;">Content-Length: 244</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">v=0</div><div style="margin: 0px;">o=- 3466358542 3466358543 IN IP4 81.23.228.146</div>
<div style="margin: 0px;">s= </div><div style="margin: 0px;">c=IN IP4 81.23.228.146</div><div style="margin: 0px;">t=0 0</div><div style="margin: 0px;">m=message 2856 TCP/TLS/MSRP *</div><div style="margin: 0px;">a=path:msrps://<a href="http://81.23.228.146:2856/385d080f7a9ae04fb513;tcp" target="_blank">81.23.228.146:2856/385d080f7a9ae04fb513;tcp</a></div>
<div style="margin: 0px;">a=accept-types:message/cpim</div><div style="margin: 0px;">a=accept-wrapped-types:text/plain</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;"><span style="color: rgb(255, 128, 0);">SENDING:</span> Packet 14, +0:00:41.270787</div>
<div style="margin: 0px;">2009-11-04 22:22:22.713266: <a href="http://192.168.1.124:58143" target="_blank">192.168.1.124:58143</a> -(SIP over UDP)-> <a href="http://81.23.228.129:5060" target="_blank">81.23.228.129:5060</a></div>
<div style="margin: 0px;"><b>ACK <a>sip:test@81.23.228.146:6060</a> SIP/2.0</b></div><div style="margin: 0px;">Via: SIP/2.0/UDP 192.168.1.124:58143;rport;branch=z9hG4bKPj6tNNz.H6Y9X5tuH-j8UTiuUA2P.5wrAg</div><div style="margin: 0px;">
Max-Forwards: 70</div><div style="margin: 0px;">From: "Adrian G." <<a>sip:31208005169@ag-projects.com</a>>;tag=fQJyDYb06LqeemqHW8pX3L6i4xaxmPIs</div><div style="margin: 0px;">To: <<a>sip:test@chatserver.ag-projects.com</a>>;tag=ZwvT6xOtX.ESzg4usO-fgyEUZsUZo9fd</div>
<div style="margin: 0px;">Call-ID: prtAsF0Fp5eRkQdnNfcY59zEPOYjBhUU</div><div style="margin: 0px;">CSeq: 11220 ACK</div><div style="margin: 0px;">Route: <<a>sip:81.23.228.129;lr;ftag=fQJyDYb06LqeemqHW8pX3L6i4xaxmPIs;did=69b.9aa264a6</a>></div>
<div style="margin: 0px;">Route: <<a>sip:85.17.186.7;lr;ftag=fQJyDYb06LqeemqHW8pX3L6i4xaxmPIs;did=69b.62cb94c2</a>></div><div style="margin: 0px;">User-Agent: blink-0.10.4-beta</div><div style="margin: 0px;">Content-Length: 0</div>
<div><br></div><div> <div style=""><div><div><br>--</div><div>Adrian</div><div><br></div></div><br></div><br><br> </div><br></div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br>