<div dir="ltr">Holy crap!! it just got registered, look like i didn't wait enough :( sory my bad... it seems it works!!<br><br>AOR:: <a href="http://sip:73757799@sip.example.com:5060">sip:73757799@sip.example.com:5060</a> expires=300<br> state:: REGISTERED_STATE<br> last_register_sent:: Mon Sep 15 22:46:33 2014<br> registration_t_out:: Mon Sep 15 22:49:53 2014<br> registrar:: sip:<a href="http://sip.example.com">sip.example.com</a><br> binding:: <a href="mailto:sip%3A73757799@sip.example.com">sip:73757799@sip.example.com</a><br> dst_IP:: IPv4 ip=xxx.xxx.xxx.xxx<br> <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 15, 2014 at 1:02 PM, Satish Patel <span dir="ltr"><<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have totally removed "binding_params" from table but still seeing same error, what about "binding_URL"? <br><span class=""><br>AOR:: <a href="http://sip:73757799@sip.example.com:5060" target="_blank">sip:73757799@sip.example.com:5060</a> expires=300<br> state:: INTERNAL_ERROR_STATE<br></span> last_register_sent:: Mon Sep 15 22:29:44 2014<br> registration_t_out:: Mon Sep 15 22:34:45 2014<span class=""><br> registrar:: sip:<a href="http://sip.example.com" target="_blank">sip.example.com</a><br> binding:: <a href="mailto:sip%3A73757799@sip.example.com" target="_blank">sip:73757799@sip.example.com</a><br> dst_IP:: IPv4 ip=xxx.xxx.xxx.xxx<br><br></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 15, 2014 at 10:31 AM, Ovidiu Sas <span dir="ltr"><<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Remove 'transport=UDP' from the binding_params.<br>
If you want to keep them, then you need to prefix them with';'<br>
<br>
Regards,<br>
Ovidiu Sas<br>
<div><div><br>
On Mon, Sep 15, 2014 at 10:19 AM, Satish Patel <<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>> wrote:<br>
> Here is my registrant dump output<br>
><br>
> AOR:: <a href="http://sip:73757799@sip.example.com:5060" target="_blank">sip:73757799@sip.example.com:5060</a> expires=300<br>
> state:: INTERNAL_ERROR_STATE<br>
> last_register_sent:: Mon Sep 15 19:40:05 2014<br>
> registration_t_out:: Mon Sep 15 19:45:07 2014<br>
> registrar:: sip:<a href="http://sip.example.com" target="_blank">sip.example.com</a><br>
> binding:: <a href="mailto:sip%3A73757799@sip.example.com" target="_blank">sip:73757799@sip.example.com</a><br>
> dst_IP:: IPv4 ip=xxx.xxx.xxx.xxx<br>
><br>
><br>
> I am still confused what is "binding_URI" is this my Opensips server IP or<br>
> Remote SIP provider IP?<br>
><br>
> root@opensips# /opt/opensips/sbin/opensipsctl registrant show<br>
> registrant table<br>
> +----+-------------------------------+-------+-------------------------------------+------------------------+----------+-----------------+--------------------------------+----------------+--------+---------------+-------------------+<br>
> | id | registrar | proxy | aor<br>
> | third_party_registrant | username | password | binding_URI<br>
> | binding_params | expiry | forced_socket | realm |<br>
> +----+-------------------------------+-------+-------------------------------------+------------------------+----------+-----------------+--------------------------------+----------------+--------+---------------+-------------------+<br>
> |<br>
> | 1 | sip:<a href="http://sip.example.com" target="_blank">sip.example.com</a> | |<br>
> <a href="http://sip:73757799@sip.example.com:5060" target="_blank">sip:73757799@sip.example.com:5060</a> | | 73757799 |<br>
> XXXXXXXX | <a href="mailto:sip%3A73757799@sip.example.com" target="_blank">sip:73757799@sip.example.com</a> | transport=UDP | 300 |<br>
> | <a href="http://sip.example.com" target="_blank">sip.example.com</a> |<br>
> +----+-------------------------------+-------+-------------------------------------+------------------------+----------+-----------------+--------------------------------+----------------+--------+---------------+-------------------+<br>
><br>
><br>
><br>
> On Mon, Sep 15, 2014 at 10:08 AM, Ovidiu Sas <<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>> wrote:<br>
>><br>
>> Looking at your Contact header that you built, it doesn't seem right:<br>
>> <sip:7777@182.xx.xx.xx.xx>transport=UDP;expires=300<br>
>> You need a ';' after '>'. It should look like this:<br>
>> <sip:7777@182.xx.xx.xx.xx>;transport=UDP;expires=300<br>
>><br>
>> Fix your config and try again.<br>
>><br>
>> Regards,<br>
>> Ovidiu Sas<br>
>><br>
>> On Mon, Sep 15, 2014 at 10:02 AM, Satish Patel <<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>><br>
>> wrote:<br>
>> > Any thought? it works with other SIP clients but not Opensips UAC :(<br>
>> ><br>
>> > On Fri, Sep 12, 2014 at 9:16 PM, Satish Patel <<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>><br>
>> > wrote:<br>
>> >><br>
>> >> But if i configure same account on my SIP phone it works! why it is<br>
>> >> misbehaving with Opensips?<br>
>> >><br>
>> >> SIP provide will argue if it works with SIP phone then it should work<br>
>> >> with<br>
>> >> all devices.<br>
>> >><br>
>> >> On Fri, Sep 12, 2014 at 6:39 PM, Ovidiu Sas <<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>><br>
>> >> wrote:<br>
>> >>><br>
>> >>> You need to tell your provider to fix this.<br>
>> >>><br>
>> >>> Regards,<br>
>> >>> Ovidiu Sas<br>
>> >>><br>
>> >>> On Sep 12, 2014 4:49 PM, "Satish Patel" <<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>> wrote:<br>
>> >>>><br>
>> >>>> What is the solution? do i need to tell my SIP provide or i should do<br>
>> >>>> something at Opensips side?<br>
>> >>>><br>
>> >>>> On Fri, Sep 12, 2014 at 4:47 PM, Ovidiu Sas <<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>><br>
>> >>>> wrote:<br>
>> >>>>><br>
>> >>>>> The contact header is malformed:<br>
>> >>>>> Contact:<br>
>> >>>>><br>
>> >>>>> <<sip:73757799@182.xx.xx.xx.xx:5060>transport=UDP>;q=1;expires=98;received="sip:182.xx.xx.xx.xx:5060",<br>
>> >>>>><br>
>> >>>>> <<sip:7777@182.xx.xx.xx.xx:5060>transport=UDP>;q=1;expires=300;received="sip:182.xx.xx.xx.xx:5060"<br>
>> >>>>><br>
>> >>>>> See the double '<'.<br>
>> >>>>><br>
>> >>>>> Regards,<br>
>> >>>>> Ovidiu Sas<br>
>> >>>>><br>
>> >>>>> On Sep 12, 2014 4:37 PM, "Satish Patel" <<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>><br>
>> >>>>> wrote:<br>
>> >>>>>><br>
>> >>>>>> Here is the trace, so where is the problem?<br>
>> >>>>>><br>
>> >>>>>> #<br>
>> >>>>>> U 182.xx.xx.xx.xx:5060 -> 216.xx.xx.xx.xx:5060<br>
>> >>>>>> REGISTER sip:<a href="http://sip.example.com:5060" target="_blank">sip.example.com:5060</a> SIP/2.0.<br>
>> >>>>>> Via: SIP/2.0/UDP 182.xx.xx.xx.xx:5060;branch=z9hG4bK60e.9f8b83d3.0.<br>
>> >>>>>> To: <a href="http://sip:73757799@sip.example.com:5060" target="_blank">sip:73757799@sip.example.com:5060</a>.<br>
>> >>>>>> From: <<a href="http://sip:73757799@sip.example.com:5060" target="_blank">sip:73757799@sip.example.com:5060</a>>;tag=40aeb.<br>
>> >>>>>> CSeq: 2 REGISTER.<br>
>> >>>>>> Call-ID: e6a44cb93fd53890295e3cecfed.<br>
>> >>>>>> Max-Forwards: 70.<br>
>> >>>>>> Content-Length: 0.<br>
>> >>>>>> User-Agent: OpenSIPS (1.12.0dev-notls (x86_64/linux)).<br>
>> >>>>>> Contact: <sip:7777@182.xx.xx.xx.xx>transport=UDP;expires=300.<br>
>> >>>>>> Authorization: Digest username="73757799", realm="<a href="http://sip.example.com" target="_blank">sip.example.com</a>",<br>
>> >>>>>> nonce="VBNMPFQTSxBkZqUtsDCom023iuZ2evbn",<br>
>> >>>>>> uri="sip:<a href="http://sip.example.com:5060" target="_blank">sip.example.com:5060</a>",<br>
>> >>>>>> qop=auth, nc=00000001, cnonce="220797507",<br>
>> >>>>>> response="8149149a7b11826e409d2954a35939d1", algorithm=MD5.<br>
>> >>>>>> .<br>
>> >>>>>><br>
>> >>>>>> #<br>
>> >>>>>> U 216.xx.xx.xx.xx:5060 -> 182.xx.xx.xx.xx:5060<br>
>> >>>>>> SIP/2.0 200 OK.<br>
>> >>>>>> Via: SIP/2.0/UDP 182.xx.xx.xx.xx:5060;branch=z9hG4bK60e.9f8b83d3.0.<br>
>> >>>>>> To:<br>
>> >>>>>><br>
>> >>>>>> sip:73757799@sip.example.com:5060;tag=28f708707fdbe632f4ca1ebbf5e1be15-5a71.<br>
>> >>>>>> From: <<a href="http://sip:73757799@sip.example.com:5060" target="_blank">sip:73757799@sip.example.com:5060</a>>;tag=40aeb.<br>
>> >>>>>> CSeq: 2 REGISTER.<br>
>> >>>>>> Call-ID: e6a44cb93fd53890295e3cecfed.<br>
>> >>>>>> Contact:<br>
>> >>>>>><br>
>> >>>>>> <<sip:73757799@182.xx.xx.xx.xx:5060>transport=UDP>;q=1;expires=98;received="sip:182.xx.xx.xx.xx:5060",<br>
>> >>>>>><br>
>> >>>>>> <<sip:7777@182.xx.xx.xx.xx:5060>transport=UDP>;q=1;expires=300;received="sip:182.xx.xx.xx.xx:5060".<br>
>> >>>>>> Content-Length: 0.<br>
>> >>>>>><br>
>> >>>>>> #<br>
>> >>>>>> U 216.xx.xx.xx.xx:5060 -> 182.xx.xx.xx.xx:5060<br>
>> >>>>>> OPTIONS sip:182.xx.xx.xx.xx:5060 SIP/2.0.<br>
>> >>>>>> Max-Forwards: 10.<br>
>> >>>>>> Record-Route: <sip:216.xx.xx.xx.xx;lr>.<br>
>> >>>>>> Via: SIP/2.0/UDP<br>
>> >>>>>><br>
>> >>>>>> 216.xx.xx.xx.xx;branch=z9hG4bK3e46.e72ab63026fa3572f78124328a048c26.0.<br>
>> >>>>>> Via: SIP/2.0/UDP 70.xxx.xxx.xxx.xxx:5060;branch=0.<br>
>> >>>>>> Route:<br>
>> >>>>>> <sip:216.xx.xx.xx.xx;lr;received='sip:182.xx.xx.xx.xx:5060'>.<br>
>> >>>>>> From: sip:ping@invalid;tag=5ba30f69.<br>
>> >>>>>> To: sip:182.xx.xx.xx.xx:5060.<br>
>> >>>>>> Call-ID: 0c26e475-b1d63378-dc72c58@70.xxx.xxx.xxx.xxx.<br>
>> >>>>>> CSeq: 1 OPTIONS.<br>
>> >>>>>> Content-Length: 0.<br>
>> >>>>>> .<br>
>> >>>>>><br>
>> >>>>>> #<br>
>> >>>>>> U 182.xx.xx.xx.xx:5060 -> 216.xx.xx.xx.xx:5060<br>
>> >>>>>> SIP/2.0 484 Address Incomplete.<br>
>> >>>>>> Via: SIP/2.0/UDP<br>
>> >>>>>><br>
>> >>>>>> 216.xx.xx.xx.xx;received=216.xx.xx.xx.xx;rport=5060;branch=z9hG4bK3e46.e72ab63026fa3572f78124328a048c26.0.<br>
>> >>>>>> Via: SIP/2.0/UDP 70.xxx.xxx.xxx.xxx:5060;branch=0.<br>
>> >>>>>> From: sip:ping@invalid;tag=5ba30f69.<br>
>> >>>>>> To:<br>
>> >>>>>> sip:182.xx.xx.xx.xx:5060;tag=c223d9b6a566b5450d01aad8764c61fe.b26e.<br>
>> >>>>>> Call-ID: 0c26e475-b1d63378-dc72c58@70.xxx.xxx.xxx.xxx.<br>
>> >>>>>> CSeq: 1 OPTIONS.<br>
>> >>>>>> Server: OpenSIPS (1.12.0dev-notls (x86_64/linux)).<br>
>> >>>>>> Content-Length: 0.<br>
>> >>>>>><br>
>> >>>>>><br>
>> >>>>>><br>
>> >>>>>> On Fri, Sep 12, 2014 at 3:23 PM, Ovidiu Sas <<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>><br>
>> >>>>>> wrote:<br>
>> >>>>>>><br>
>> >>>>>>> Take a look at RFC3261:<br>
>> >>>>>>> <a href="http://tools.ietf.org/html/rfc3261#section-10.2" target="_blank">http://tools.ietf.org/html/rfc3261#section-10.2</a><br>
>> >>>>>>> Contact: REGISTER requests MAY contain a Contact header field<br>
>> >>>>>>> with<br>
>> >>>>>>> zero or more values containing address bindings.<br>
>> >>>>>>><br>
>> >>>>>>> The error that you have is related to the Contact header in the<br>
>> >>>>>>> reply.<br>
>> >>>>>>> Check the reply received from the registrar.<br>
>> >>>>>>><br>
>> >>>>>>> Regards,<br>
>> >>>>>>> Ovidiu Sas<br>
>> >>>>>>><br>
>> >>>>>>><br>
>> >>>>>>> On Fri, Sep 12, 2014 at 3:03 PM, Satish Patel<br>
>> >>>>>>> <<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>><br>
>> >>>>>>> wrote:<br>
>> >>>>>>> > In logs i am getting this error<br>
>> >>>>>>> ><br>
>> >>>>>>> > ERROR:uac_registrant:run_reg_tm_cback: failed to parse Contact<br>
>> >>>>>>> > body<br>
>> >>>>>>> ><br>
>> >>>>>>> > AOR:: <a href="http://sip:9999@sip.example.com:5060" target="_blank">sip:9999@sip.example.com:5060</a> expires=300<br>
>> >>>>>>> > state:: INTERNAL_ERROR_STATE<br>
>> >>>>>>> > last_register_sent:: Sat Sep 13 00:30:28 2014<br>
>> >>>>>>> > registration_t_out:: Sat Sep 13 00:35:28 2014<br>
>> >>>>>>> > registrar:: sip:<a href="http://sip.example.com:5060" target="_blank">sip.example.com:5060</a><br>
>> >>>>>>> > binding:: sip:9999@182.xxx.xxx.xxx:5060<br>
>> >>>>>>> > dst_IP:: IPv4 ip=<a href="http://sip.example.com" target="_blank">sip.example.com</a><br>
>> >>>>>>> ><br>
>> >>>>>>> ><br>
>> >>>>>>> > I have one more gateway which is asterisk one working fine, what<br>
>> >>>>>>> > is<br>
>> >>>>>>> > the<br>
>> >>>>>>> > binding_URI?<br>
>> >>>>>>> ><br>
>> >>>>>>> ><br>
>> >>>>>>> > _______________________________________________<br>
>> >>>>>>> > Users mailing list<br>
>> >>>>>>> > <a href="mailto:Users@lists.opensips.org" target="_blank">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>
>> >>>>>>><br>
>> >>>>>>><br>
>> >>>>>>><br>
>> >>>>>>> --<br>
>> >>>>>>> VoIP Embedded, Inc.<br>
>> >>>>>>> <a href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a><br>
>> >>>>>>><br>
>> >>>>>>> _______________________________________________<br>
>> >>>>>>> Users mailing list<br>
>> >>>>>>> <a href="mailto:Users@lists.opensips.org" target="_blank">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>
>> >>>>>><br>
>> >>>>>><br>
>> >>>>>> _______________________________________________<br>
>> >>>>>> Users mailing list<br>
>> >>>>>> <a href="mailto:Users@lists.opensips.org" target="_blank">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>
>> >>>>><br>
>> >>>>> _______________________________________________<br>
>> >>>>> Users mailing list<br>
>> >>>>> <a href="mailto:Users@lists.opensips.org" target="_blank">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>
>> >>>><br>
>> >>>><br>
>> >>>> _______________________________________________<br>
>> >>>> Users mailing list<br>
>> >>>> <a href="mailto:Users@lists.opensips.org" target="_blank">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>
>> >>><br>
>> >>> _______________________________________________<br>
>> >>> Users mailing list<br>
>> >>> <a href="mailto:Users@lists.opensips.org" target="_blank">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>
>> >><br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > Users mailing list<br>
>> > <a href="mailto:Users@lists.opensips.org" target="_blank">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>
>><br>
>><br>
>><br>
>> --<br>
>> VoIP Embedded, Inc.<br>
>> <a href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a><br>
>><br>
>> _______________________________________________<br>
>> Users mailing list<br>
>> <a href="mailto:Users@lists.opensips.org" target="_blank">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>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" target="_blank">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>
<br>
<br>
<br>
--<br>
VoIP Embedded, Inc.<br>
<a href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">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>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>