[Freeswitch-users] UDP port Operation not permitted

Wayne Chang wayne_w_chang at yahoo.com
Thu Jun 17 07:42:11 UTC 2021

 Hi Mike,
what could be the issue?  I am sure has port 5060 listening. I tested with SIPp and the target could receive INVITE properly.
The issue only happened when running following command from fs_cli.

freeswitch at freeswitch> originatesofia/external/PaymentIVR2-34117 at 1002

    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/
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>

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), ""): calledsoa_static.c:1445 offer_answer_step() soa_static(0x7f133c0412b0, soa_generate_offer): storing local descriptionsoa.c:1268 soa_get_local_sdp() soa_get_local_sdp(static::0x7f133c0412b0, [(nil)], [0x7f1347ffe720], [0x7f1347ffe718]) called2021-06-13 22:08:10.682603 [DEBUG] switch_core_state_machine.c:663 (sofia/external/PaymentIVR2-34117) State CONSUME_MEDIAnta.c:2694 nta_tpn_by_url() nta: selecting scheme sip2021-06-13 22:08:10.682603 [DEBUG] switch_core_state_machine.c:663 (sofia/external/PaymentIVR2-34117) State CONSUME_MEDIA going to sleeptport.c:3285 tport_tsend() tport_tsend(0x7f133c004e80) tpn = UDP/ tport_resolve() tport_resolve addrinfo = tport_by_addrinfo() tport_by_addrinfo(0x7f133c004e80): not found by name UDP/ tport_send_fatal() tport_vsend(0x7f133c004e80): Operation not permitted with (s=35 UDP/ tport_send_msg() tport_vsend returned -1nta.c:8542 outgoing_print_tport_error() nta: INVITE (37269853): Operation not permitted (1) with UDP/[]:5060nua_session.c:4135 signal_call_state_change() nua(0x7f136c038fd0): call state changed: init -> calling, sent offersoa.c:1268 soa_get_local_sdp() soa_get_local_sdp(static::0x7f133c0412b0, [0x7f1347ffe730], [0x7f1347ffe738], [(nil)]) callednua_stack.c:269 nua_stack_event() nua(0x7f136c038fd0): event i_state INVITE sentnua_stack.c:359 nua_application_event() nua: nua_application_event: enteringnua_stack.c:271 nua_stack_event() nua(0x7f136c038fd0): event r_invite 503 Service Unavailablenua_session.c:4135 signal_call_state_change() nua(0x7f136c038fd0): call state changed: calling -> initnua_stack.c:271 nua_stack_event() nua(0x7f136c038fd0): event i_state 503 Service Unavailablenua_stack.c:271 nua_stack_event() nua(0x7f136c038fd0): event i_terminated 503 Service Unavailable

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20210617/8d7364d6/attachment.html>

More information about the FreeSWITCH-users mailing list