<div dir="ltr">Thanks for answer. Contact is Ok. It is just literal mistake at dump. This error happens because CSeq not incremented by kamailio. Already talking about this with Daniel at the another List. </div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-31 1:37 GMT+04:00 Gonzalo Gasca <span dir="ltr"><<a href="mailto:gascagonzalo@gmail.com" target="_blank">gascagonzalo@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">What about the Contact header,<input name="virtru-metadata" type="hidden" value="{"email-policy":{"state":"closed","expirationUnit":"days","disableCopyPaste":false,"disablePrint":false,"disableForwarding":false,"expires":false},"attachments":{}}"><div><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">Contact:<</span><a href="http://sip:Vebinar-gw2@sip.myservice.com:5068/" style="font-family:arial,sans-serif;font-size:12.8000001907349px" target="_blank">sip:Vebinar-gw2@sip.myservice.com:5068</a><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">></span><br></div><div class="gmail_extra">Can you verify is a valid one.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Oct 29, 2014 at 3:56 PM, Yuriy Gorlichenko <span dir="ltr"><<a href="mailto:ovoshlook@gmail.com" target="_blank">ovoshlook@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hello. I use kamailio for calling to porvider. My providr seccefuully registered from UAC module, but when I try to call through it? it back 401 Unauthorised. I send second try with Digest Auth header at INVITE and it receive me 401 too...<br><br>I register this provider from asterisk and call succesfully Ok. So i get dump from asterisk This is successfull INVITE:<br><br><div>INVITE <a href="mailto:sip%3A89126975590@sip.provider.com" target="_blank">sip:89126975590@sip.provider.com</a> SIP/2.0</div><div>Via: SIP/2.0/UDP 17.4.28.7:50600;branch=z9hG4bK5f118681;rport</div><div>Max-Forwards: 70</div><div>From: <<a href="http://sip:gw2@17.4.28.7:50600" target="_blank">sip:gw2@17.4.28.7:50600</a>>;tag=as33192a38</div><div>To: <<a href="mailto:sip%3A89126975590@sip.provider.com" target="_blank">sip:89126975590@sip.provider.com</a>></div><div>Contact: <<a href="http://sip:gw2@17.4.28.7:50600" target="_blank">sip:gw2@17.4.28.7:50600</a>></div><div>Call-ID: <a href="http://021088c360a8dbf023bf35560a9daf1e@17.4.28.7:50600" target="_blank">021088c360a8dbf023bf35560a9daf1e@17.4.28.7:50600</a></div><div>CSeq: 103 INVITE</div><div>User-Agent: Asterisk PBX 12.6.1</div><div>Authorization: Digest username="gw2", realm="<a href="http://provider.com" target="_blank">provider.com</a>", algorithm=MD5, uri="<a href="mailto:sip%3A89126975590@sip.provider.com" target="_blank">sip:89126975590@sip.provider.com</a>", nonce="014d80ca", response="67bad8a0c97afc2b6747b471a56bca9f"</div><div>Date: Wed, 29 Oct 2014 18:50:50 GMT</div><div>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE</div><div>Supported: replaces, timer</div><div>Content-Type: application/sdp</div><div>Content-Length: 253</div><div><br></div><div>v=0</div><div>o=root 1098729670 1098729671 IN IP4 17.4.28.7</div><div>s=Asterisk PBX 12.6.1</div><div>c=IN IP4 17.4.28.7</div><div>t=0 0</div><div>m=audio 10088 RTP/AVP 8 101</div><div>a=rtpmap:8 PCMA/8000</div><div>a=rtpmap:101 telephone-event/8000</div><div>a=fmtp:101 0-16</div><div>a=ptime:20</div><div>a=maxptime:150</div><div>a=sendrecv<br><br><br>Then I get dump from my kamailio (unsuccessfull INVITE)<br><br><div>INVITE <a href="mailto:sip%3A89126975590@sip.provider.com" target="_blank">sip:89126975590@sip.provider.com</a>  SIP/2.0</div><div>Record-Route: <sip:sip.myservice.com:5068;nat=yes;ftag=as4684d4b9;lr=on></div><div>Via: SIP/2.0/UDP sip.myservice.com:5068;branch=z9hG4bK600b.1d5ff0fd59d4f3d2a1a06d722c0daa92.2</div><div>Via: SIP/2.0/UDP my.aterisk:50600;branch=z9hG4bK2b8d9b09;rport=50600</div><div>Max-Forwards: 70</div><div>From: <<a href="http://sip:gw2@sip.myservice.com:5068" target="_blank">sip:gw2@sip.myservice.com:5068</a>>;tag=as4684d4b9</div><div>To: <<a href="mailto:sip%3A89126975590@sip.provider.com" target="_blank">sip:89126975590@sip.provider.com</a> ></div><div>Contact:<<a href="http://sip:Vebinar-gw2@sip.myservice.com:5068" target="_blank">sip:Vebinar-gw2@sip.myservice.com:5068</a>></div><div>Call-ID: <a href="http://445a7b884aeeab125d91886210c9beb7@sip.myservice.com:50600" target="_blank">445a7b884aeeab125d91886210c9beb7@sip.myservice.com:50600</a></div><div>CSeq: 102 INVITE</div><div>User-Agent: SoftSwitch</div><div>Date: Wed, 29 Oct 2014 22:32:32 GMT</div><div>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE</div><div>Supported: replaces, timer</div><div>Content-Type: application/sdp</div><div>Content-Length: 312</div><div>Authorization: Digest username="gw2", realm="<a href="http://provider.com" target="_blank">provider.com</a>", nonce="10129bde", uri="<a href="mailto:sip%3A89126975590@sip.provider.com" target="_blank">sip:89126975590@sip.provider.com</a> ", response="6d3411b24cbb57ad72271790ec01b453", algorithm=MD5</div><div><br></div><div>v=0</div><div>o=root 468654998 468654998 IN IP4 1.2.3.4</div><div>s=SoftSwitch</div><div>c=IN IP4 1.2.3.4</div><div>t=0 0</div><div>m=audio 30104 RTP/AVP 8 3 0 101</div><div>a=rtpmap:8 PCMA/8000</div><div>a=rtpmap:3 GSM/8000</div><div>a=rtpmap:0 PCMU/8000</div><div>a=rtpmap:101 telephone-event/8000</div><div>a=fmtp:101 0-16</div><div>a=ptime:20</div><div>a=maxptime:150</div><div>a=sendrecv</div><div>a=rtcp:30105</div></div><div><br><br>I see difference between packetts only at SDP (not inportant things) and at VIA and request route Headers. All other fields identical. <br><br>So -why Asterisk call successull and Kamailio kall unsuccessfull? What the differense?</div></div>
<br></div></div>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>