<div dir="ltr">Olá Rodrigo<div><br></div><div>The problem seems to be the IPV6 addresses. Did you look at the logs to know exactly why opensips refused the call?</div><div><br></div><div>IPV4 is almost out in Brazil, mobile carriers are using ipv6 addresses on mobile devices. This is the issue, but in theory opensips should handle this seamlessly. Do you have IPV6 in your server or the message came on ipv4 address but SIP has ipv6 addresses?</div><div><br></div><div>I recommend you check logs, the issue should be there. Also, if you plan to allow mobile devices, you should be prepared to use ipv6 on your net.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 12, 2022 at 4:57 PM Rodrigo Pimenta Carvalho <<a href="mailto:pimenta@inatel.br">pimenta@inatel.br</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hi. I found the error cause. But I still don't know why I have such issue.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
When I use my Internet Link (WIFI in my home office), the SIP register message is sent correctly. Like this:<br>
<br>
Session Initiation Protocol (REGISTER)
<div> Request-Line: REGISTER sip:54.233.189.46:5060;transport=UDP SIP/2.0</div>
<div> Method: REGISTER</div>
<div> Request-URI: sip:54.233.189.46:5060;transport=UDP</div>
<div> [Resent Packet: False]</div>
<div> Message Header</div>
<div> Via: SIP/2.0/UDP 192.168.1.103:5060;branch=z9hG4bK-524287-1---6dbfa766cffddeee;rport</div>
<div> Max-Forwards: 70</div>
<div> Contact: <sip:55555@192.168.1.103:5060;rinstance=1afa98b2b6d17a34;transport=UDP></div>
<div> To: <<a href="http://sip:55555@54.233.189.46:5060" target="_blank">sip:55555@54.233.189.46:5060</a>>;transport=UDP></div>
<div> From: <sip:55555@54.233.189.46:5060;transport=UDP>;tag=98bfc34c</div>
<div> Call-ID: H1E0jkwiMniiyT5az1BT7g..</div>
<div> CSeq: 1 REGISTER</div>
<div> Expires: 60</div>
<div> Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE</div>
<div> User-Agent: Zoiper v2.10.18.1-mod</div>
<div> Allow-Events: presence, kpml, talk</div>
Content-Length: 0<br>
<br>
Opensips got the message above.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
However, when I use the GSM mobile network (from VIVO) , some service changes the content of the SIP Register message. Like this:<br>
<br>
Session Initiation Protocol (REGISTER)
<div> Request-Line: REGISTER sip:<b>[64:ff9b::36e9:bd2e]</b>:5060;transport=UDP SIP/2.0</div>
<div> Method: REGISTER</div>
<div> Request-URI: sip:<b>[64:ff9b::36e9:bd2e]</b>:5060;transport=UDP</div>
<div> [Resent Packet: False]</div>
<div> Message Header</div>
<div> Via: SIP/2.0/UDP <b>[64:ff9b::c000:4]</b>;branch=z9hG4bK-524287-1---0a8189adf6c3449a</div>
<div> Max-Forwards: 70</div>
<div> Contact: <sip:55555@<b>[64:ff9b::c000:4]</b>:5060;transport=UDP;rinstance=ffaac43f13178e89></div>
<div> To: <sip:55555@<b>[64:ff9b::36e9:bd2e]</b>:5060></div>
<div> From: <sip:55555@<b>[64:ff9b::36e9:bd2e]</b>:5060>;tag=f19aea4d</div>
<div> Call-ID: VICBinZsDk5_ZhpHGd__CQ..</div>
<div> CSeq: 1 REGISTER</div>
<div> Expires: 60</div>
<div> Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE</div>
<div> User-Agent: Zoiper v2.10.18.1-mod</div>
<div> Allow-Events: presence, kpml, talk</div>
Content-Length: 0<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
That is why Opensips returns error 500. I guess some service changed IPv4 to something IPv6.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Could it be caused by the GSM operator (VIVO) ? </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
What should I investigage to solve this problem?<br>
<br>
Any hint will be very helpful !<br>
<br>
Thanks alot.</div>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div id="gmail-m_7852466266426925323Signature">
<div>
<div></div>
<div id="gmail-m_7852466266426925323divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif">
<div name="divtagdefaultwrapper">
<div><font size="2">
<div>RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: +55 35 3471 9200 RAMAL: 979<br>
</div>
</font></div>
</div>
<br>
</div>
</div>
</div>
</div>
<div id="gmail-m_7852466266426925323appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_7852466266426925323divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De:</b> Users <<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>> em nome de Daniel Zanutti <<a href="mailto:daniel.zanutti@gmail.com" target="_blank">daniel.zanutti@gmail.com</a>><br>
<b>Enviado:</b> quinta-feira, 12 de maio de 2022 11:57<br>
<b>Para:</b> OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>><br>
<b>Assunto:</b> Re: [OpenSIPS-Users] Question about error 500 only via WIFI</font>
<div> </div>
</div>
<div>
<div dir="ltr">Olá Rodrigo, tudo bem? Saudações de São Paulo!
<div><br>
</div>
<div>Opensips doesn't differentiate the network, it will look just to the sip packet. I recommend you sniff through your packets and check what's different. Probably there's somenthing on opensips log you didn't get yet, recommend you take a look there first
btw.</div>
<div><br>
</div>
<div>About push, I think you're enable push notifications on your device, take a look: <a href="https://www.zoiper.com/en/support/home/article/205/Zoiper%20Push%20Proxy" target="_blank">https://www.zoiper.com/en/support/home/article/205/Zoiper%20Push%20Proxy</a></div>
<div><br>
</div>
<div>Regards</div>
<div><br>
</div>
</div>
<br>
<div>
<div dir="ltr">On Wed, May 11, 2022 at 4:13 PM Rodrigo Pimenta Carvalho <<a href="mailto:pimenta@inatel.br" target="_blank">pimenta@inatel.br</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hi.<br>
<br>
My SIP proxy is an OpenSIPS version 2.4.7. It was 'off' for a while and today I turned it on again for some tests.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I usually use my home office local WIFI to connect my softphones to the network and it can be all connected (online) to this SIP proxy.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
However, if I use the mobile network (LTE/4G) to connect the softphones to the SIP proxy, the OpenSIP returns an error 500. That is: "SIP/2.0 500 Server error occurred (7/TM)".<br>
<br>
One of the softphones (Zoiper) allows me to use a kind of "proxy PUSH". If I use it, the problem is solved even while using the mobile network.<br>
<br>
What is a proxy PUSH? Why OpenSIPs return error in a case, but not in the other one?</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
What could I do to avoid using a 'proxy PUSH'?</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Local WIFI and mobile network come from different carriers.<br>
<br>
Any hint will be very helpful!</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Best regards.</div>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div id="gmail-m_7852466266426925323x_gmail-m_-4980115297295558781gmail-m_8027974543953684919Signature">
<div>
<div></div>
<div id="gmail-m_7852466266426925323x_gmail-m_-4980115297295558781gmail-m_8027974543953684919divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif">
<div name="x_divtagdefaultwrapper">
<div><font size="2">
<div>RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: +55 35 3471 9200 RAMAL: 979<br>
</div>
</font></div>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<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" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
</div>
</div>
</div>
_______________________________________________<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" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>