[OpenSIPS-Users] opensipsctl ping sip:1234 at 1.2.3.4 ALWAYS returns “200 OK”
Bogdan-Andrei Iancu
bogdan at opensips.org
Wed Aug 7 06:10:24 EDT 2019
Hi Louis,
The `opensipsctl ping` is actually triggering the `t_uac_dlg` MI
command. The 200 OK you see is actually from the MI level, saying that
the MI cmd was successfully ran. It is not from the SIP level
Now, opensipsctl may not be the smartest tool, so it display only the
ret code from MI level. IF you want to see the full MI response (with
the SIP payload also), remove the "head" filter here
https://github.com/OpenSIPS/opensips/blob/2.4/scripts/opensipsctl#L1895
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
OpenSIPS Summit 2019
https://www.opensips.org/events/Summit-2019Amsterdam/
On 08/06/2019 11:35 PM, Louis Rochon wrote:
>
> Just to add: I have completely reinstalled the OS and OpenSIPs 2.4.6.
>
> Same problem….
>
> Anybody?
>
> Louis
>
> *From:*Users <users-bounces at lists.opensips.org> *On Behalf Of *Louis
> Rochon
> *Sent:* August 5, 2019 9:08 AM
> *To:* OpenSIPS users mailling list <users at lists.opensips.org>
> *Subject:* [OpenSIPS-Users] opensipsctl ping sip:1234 at 1.2.3.4
> ALWAYS returns “200 OK”
>
> *WARNING: External Email: Exercise Caution*
>
> opensipsctl ping sip:1234 at 1.2.3.4 ALWAYS returns “200 OK”.
>
> I could point it to a dead IP and it still returns 200 OK.
>
> Opensips 2.4.6 installed on CentOS 7.
>
> In 2.4.2 and in 1.8, this returned “200” (no ok) or whatever
> cause-code the UA returned, and “408” for a time out. Now it’s always
> “200 OK”
>
> Wireshark indicates that it does send SIP Options and receives
> appropriate response (if any).
>
> Of course, I have googled this ad nauseum....
>
> Help!
>
> Thanks in advance,
>
> Louis
>
> NOTICE TO RECIPIENT: This email, including attachments, may contain
> information which is confidential, proprietary, attorney-client
> privileged and / or controlled under U.S. export laws and regulations
> and may be restricted from disclosure by applicable State and Federal
> law. Nothing in this email shall create any legal binding agreement
> between the parties unless expressly stated herein and provided by an
> authorized representative of Comtech Telecommunications Corp. or its
> subsidiaries. If you are not the intended recipient of this message,
> be advised that any dissemination, distribution, or use of the
> contents of this message is strictly prohibited. If you received this
> message in error, please notify us immediately by return email and
> permanently delete all copies of the original email and any attached
> documentation from any computer or other media.
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190807/3686c697/attachment.html>
More information about the Users
mailing list