VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
freeswitch-users at li... Guest
|
Posted: Mon Jun 14, 2021 1:10 pm Post subject: [Freeswitch-users] UDP port Operation not permitted |
|
|
------ Start of attached email. Subject: UDP port Operation not permitted ------
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), ""): 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/10.201.21.140:5060tport.c:4071 tport_resolve() tport_resolve addrinfo = 10.201.21.140:5060tport.c:4708 tport_by_addrinfo() tport_by_addrinfo(0x7f133c004e80): not found by name UDP/10.201.21.140:5060tport.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 -1nta.c:8542 outgoing_print_tport_error() nta: INVITE (37269853): Operation not permitted (1) with UDP/[10.201.21.140]: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
Wayne
------ End of attached email ------
_________________________________________________________________________
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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com |
|
Back to top |
|
|
mike at freeswitch.org Guest
|
Posted: Mon Jun 14, 2021 1:32 pm Post subject: [Freeswitch-users] UDP port Operation not permitted |
|
|
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.
Quote: | On Jun 14, 2021, at 11:42 AM, Wayne Chang via FreeSWITCH-users <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)> wrote:
From: Wayne Chang <wayne_w_chang@yahoo.com (wayne_w_chang@yahoo.com)>
Subject: UDP port Operation not permitted
Date: June 13, 2021 at 11:41:45 PM MDT
To: "freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)" <freeswitch-users@lists.freeswitch.org (freeswitch-users@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
|
|
|
Back to top |
|
|
david.villasmil.work a... Guest
|
Posted: Thu Jun 17, 2021 3:27 am Post subject: [Freeswitch-users] UDP port Operation not permitted |
|
|
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@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)> wrote:
Quote: |
---------- Forwarded message ----------
From: Wayne Chang <wayne_w_chang@yahoo.com (wayne_w_chang@yahoo.com)>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>, Mike Jerris <mike@freeswitch.org (mike@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@freeswitch> originate sofia/external/PaymentIVR2-34117@10.201.21.140 (PaymentIVR2-34117@10.201.21.140) 1002Thanks
Wayne
On Monday, June 14, 2021, 10:45:50 AM PDT, Mike Jerris <mike@freeswitch.org (mike@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.
Quote: | On Jun 14, 2021, at 11:42 AM, Wayne Chang via FreeSWITCH-users <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)> wrote:
From: Wayne Chang <wayne_w_chang@yahoo.com (wayne_w_chang@yahoo.com)>
Subject: UDP port Operation not permitted
Date: June 13, 2021 at 11:41:45 PM MDT
To: "freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)" <freeswitch-users@lists.freeswitch.org (freeswitch-users@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@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>, Mike Jerris <mike@freeswitch.org (mike@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@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@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 Villasmilemail: david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)
phone: +34669448337 |
|
Back to top |
|
|
freeswitch-users at li... Guest
|
Posted: Thu Jun 17, 2021 3:31 am Post subject: [Freeswitch-users] UDP port Operation not permitted |
|
|
------ Start of attached email. 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@freeswitch> originatesofia/external/PaymentIVR2-34117@10.201.21.140 1002
Thanks
Wayne
On Monday, June 14, 2021, 10:45:50 AM PDT, Mike Jerris <mike@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@lists.freeswitch.org> wrote:
From: Wayne Chang <wayne_w_chang@yahoo.com>
Subject: UDP port Operation not permitted
Date: June 13, 2021 at 11:41:45 PM MDT
To: "freeswitch-users@lists.freeswitch.org" <freeswitch-users@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), ""): 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/10.201.21.140:5060tport.c:4071 tport_resolve() tport_resolve addrinfo = 10.201.21.140:5060tport.c:4708 tport_by_addrinfo() tport_by_addrinfo(0x7f133c004e80): not found by name UDP/10.201.21.140:5060tport.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 -1nta.c:8542 outgoing_print_tport_error() nta: INVITE (37269853): Operation not permitted (1) with UDP/[10.201.21.140]: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
------ End of attached email ------
_________________________________________________________________________
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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|