[Freeswitch-users] UDP port Operation not permitted
David Villasmil
david.villasmil.work at gmail.com
Thu Jun 17 07:53:09 UTC 2021
This usually happens because either the IP address in the profile is wrong,
or maybe fs is running with the wrong user.
Verify the IP address both in the profile and on vars, and try running fs
from the cli as root and see if anything changes.
On Thu, 17 Jun 2021 at 08:42, Wayne Chang via FreeSWITCH-users <
freeswitch-users at lists.freeswitch.org> wrote:
>
>
>
> ---------- Forwarded message ----------
> From: Wayne Chang <wayne_w_chang at yahoo.com>
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>, Mike
> Jerris <mike at freeswitch.org>
> Cc:
> Bcc:
> Date: Thu, 17 Jun 2021 07:42:11 +0000 (UTC)
> Subject: Re: [Freeswitch-users] UDP port Operation not permitted
> Hi Mike,
>
> what could be the issue? I am sure 10.201.21.140 has port 5060 listening.
> I tested with SIPp and the target 10.201.21.140 could receive INVITE
> properly.
>
> The issue only happened when running following command from fs_cli.
>
> freeswitch at freeswitch> originate sofia/external/
> PaymentIVR2-34117 at 10.201.21.140 1002
> Thanks
>
> Wayne
>
>
> On Monday, June 14, 2021, 10:45:50 AM PDT, Mike Jerris <
> mike at freeswitch.org> wrote:
>
>
> tport.c:3663 tport_send_fatal() tport_vsend(0x7f133c004e80): Operation not
> permitted with (s=35 UDP/10.201.21.140:5060)
>
> write to network failing.
>
> On Jun 14, 2021, at 11:42 AM, Wayne Chang via FreeSWITCH-users <
> freeswitch-users at lists.freeswitch.org> wrote:
>
>
> *From: *Wayne Chang <wayne_w_chang at yahoo.com>
> *Subject: **UDP port Operation not permitted*
> *Date: *June 13, 2021 at 11:41:45 PM MDT
> *To: *"freeswitch-users at lists.freeswitch.org" <
> freeswitch-users at lists.freeswitch.org>
>
>
> Hi,
>
> I am using the fs_cli command to originate a call to a media server.
> However I am receiving the 503 Service Unavailable. I have checked the
> media server listening on port 5060. I am able to use sip client to send
> the invite. Can you help me understand why when using the originate command
> it failed?
>
> Thanks. Here is the log.
>
> 2021-06-13 22:08:10.682603 [DEBUG] switch_core_state_machine.c:585
> (sofia/external/PaymentIVR2-34117) Running State Change CS_CONSUME_MEDIA
> (Cur 1 Tot 29)
> soa_static.c:1028 soa_sdp_mode_set() soa_sdp_mode_set(0x7f1347ffc5c0,
> (nil), ""): called
> soa_static.c:1445 offer_answer_step() soa_static(0x7f133c0412b0,
> soa_generate_offer): storing local description
> soa.c:1268 soa_get_local_sdp() soa_get_local_sdp(static::0x7f133c0412b0,
> [(nil)], [0x7f1347ffe720], [0x7f1347ffe718]) called
> 2021-06-13 22:08:10.682603 [DEBUG] switch_core_state_machine.c:663
> (sofia/external/PaymentIVR2-34117) State CONSUME_MEDIA
> nta.c:2694 nta_tpn_by_url() nta: selecting scheme sip
> 2021-06-13 22:08:10.682603 [DEBUG] switch_core_state_machine.c:663
> (sofia/external/PaymentIVR2-34117) State CONSUME_MEDIA going to sleep
> tport.c:3285 tport_tsend() tport_tsend(0x7f133c004e80) tpn = UDP/
> 10.201.21.140:5060
> tport.c:4071 tport_resolve() tport_resolve addrinfo = 10.201.21.140:5060
> tport.c:4708 tport_by_addrinfo() tport_by_addrinfo(0x7f133c004e80): not
> found by name UDP/10.201.21.140:5060
> tport.c:3663 tport_send_fatal() tport_vsend(0x7f133c004e80): Operation not
> permitted with (s=35 UDP/10.201.21.140:5060)
> tport.c:3521 tport_send_msg() tport_vsend returned -1
> nta.c:8542 outgoing_print_tport_error() nta: INVITE (37269853): Operation
> not permitted (1) with UDP/[10.201.21.140]:5060
> nua_session.c:4135 signal_call_state_change() nua(0x7f136c038fd0): call
> state changed: init -> calling, sent offer
> soa.c:1268 soa_get_local_sdp() soa_get_local_sdp(static::0x7f133c0412b0,
> [0x7f1347ffe730], [0x7f1347ffe738], [(nil)]) called
> nua_stack.c:269 nua_stack_event() nua(0x7f136c038fd0): event i_state
> INVITE sent
> nua_stack.c:359 nua_application_event() nua: nua_application_event:
> entering
> nua_stack.c:271 nua_stack_event() nua(0x7f136c038fd0): event r_invite 503
> Service Unavailable
> nua_session.c:4135 signal_call_state_change() nua(0x7f136c038fd0): call
> state changed: calling -> init
> nua_stack.c:271 nua_stack_event() nua(0x7f136c038fd0): event i_state 503
> Service Unavailable
> nua_stack.c:271 nua_stack_event() nua(0x7f136c038fd0): event i_terminated
> 503 Service Unavailable
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Wayne Chang via FreeSWITCH-users <
> freeswitch-users at lists.freeswitch.org>
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>, Mike
> Jerris <mike at freeswitch.org>
> Cc:
> Bcc:
> Date: Thu, 17 Jun 2021 00:42:49 -0700 (PDT)
> Subject: Re: [Freeswitch-users] UDP port Operation not permitted
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
--
Regards,
David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20210617/ab70abc4/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list