<div dir="auto">This usually happens because either the IP address in the profile is wrong, or maybe fs is running with the wrong user. </div><div dir="auto">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.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 17 Jun 2021 at 08:42, Wayne Chang via FreeSWITCH-users <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br><br>---------- Forwarded message ----------<br>From: Wayne Chang <<a href="mailto:wayne_w_chang@yahoo.com" target="_blank">wayne_w_chang@yahoo.com</a>><br>To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>>, Mike Jerris <<a href="mailto:mike@freeswitch.org" target="_blank">mike@freeswitch.org</a>><br>Cc: <br>Bcc: <br>Date: Thu, 17 Jun 2021 07:42:11 +0000 (UTC)<br>Subject: Re: [Freeswitch-users] UDP port Operation not permitted<br><div><div style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:16px"><div></div>
<div dir="ltr">Hi Mike,</div><div dir="ltr"><br></div><div dir="ltr">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.</div><div dir="ltr"><br></div><div dir="ltr">The issue only happened when running following command from fs_cli.</div><div dir="ltr"><br></div><div dir="ltr"><span><p>freeswitch@freeswitch> originate
sofia/external/<a href="mailto:PaymentIVR2-34117@10.201.21.140" target="_blank">PaymentIVR2-34117@10.201.21.140</a> 1002</p></span>Thanks</div></div></div><div><div style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:16px"><div dir="ltr"><br></div><div dir="ltr">Wayne</div><div dir="ltr"><br></div><div><br></div>
</div><div id="m_-4375218558970352893ydpab1c072ayahoo_quoted_3966833341">
<div style="font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;color:#26282a">
<div>
On Monday, June 14, 2021, 10:45:50 AM PDT, Mike Jerris <<a href="mailto:mike@freeswitch.org" target="_blank">mike@freeswitch.org</a>> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="m_-4375218558970352893ydpab1c072ayiv7896678601"><div><div style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif;font-size:16px">tport.c:3663 tport_send_fatal() tport_vsend(0x7f133c004e80): Operation not permitted with (s=35 UDP/<a href="http://10.201.21.140:5060" target="_blank">10.201.21.140:5060</a>)</div><div><br></div><div>write to network failing.</div><div><br><blockquote type="cite"><div>On Jun 14, 2021, at 11:42 AM, Wayne Chang via FreeSWITCH-users <<a href="mailto:freeswitch-users@lists.freeswitch.org" rel="nofollow" target="_blank">freeswitch-users@lists.freeswitch.org</a>> wrote:</div><br><div><br><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgba(127,127,127,1.0)"><b>From: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif">Wayne Chang <<a href="mailto:wayne_w_chang@yahoo.com" rel="nofollow" target="_blank">wayne_w_chang@yahoo.com</a>><br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgba(127,127,127,1.0)"><b>Subject: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif"><b>UDP port Operation not permitted</b><br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgba(127,127,127,1.0)"><b>Date: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif">June 13, 2021 at 11:41:45 PM MDT<br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgba(127,127,127,1.0)"><b>To: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif">"<a href="mailto:freeswitch-users@lists.freeswitch.org" rel="nofollow" target="_blank">freeswitch-users@lists.freeswitch.org</a>" <<a href="mailto:freeswitch-users@lists.freeswitch.org" rel="nofollow" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br></span></div><br><br><div><div style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:16px"><div dir="ltr">Hi,</div><div dir="ltr"><br></div><div dir="ltr">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?</div><div dir="ltr"><br></div><div dir="ltr">Thanks. Here is the log.</div><div><br></div><div dir="ltr"><div><div>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)</div><div>soa_static.c:1028 soa_sdp_mode_set() soa_sdp_mode_set(0x7f1347ffc5c0, (nil), ""): called</div><div>soa_static.c:1445 offer_answer_step() soa_static(0x7f133c0412b0, soa_generate_offer): storing local description</div><div>soa.c:1268 soa_get_local_sdp() soa_get_local_sdp(static::0x7f133c0412b0, [(nil)], [0x7f1347ffe720], [0x7f1347ffe718]) called</div><div>2021-06-13 22:08:10.682603 [DEBUG] switch_core_state_machine.c:663 (sofia/external/PaymentIVR2-34117) State CONSUME_MEDIA</div><div>nta.c:2694 nta_tpn_by_url() nta: selecting scheme sip</div><div>2021-06-13 22:08:10.682603 [DEBUG] switch_core_state_machine.c:663 (sofia/external/PaymentIVR2-34117) State CONSUME_MEDIA going to sleep</div><div>tport.c:3285 tport_tsend() tport_tsend(0x7f133c004e80) tpn = UDP/<a href="http://10.201.21.140:5060" target="_blank">10.201.21.140:5060</a></div><div>tport.c:4071 tport_resolve() tport_resolve addrinfo = <a href="http://10.201.21.140:5060" target="_blank">10.201.21.140:5060</a></div><div>tport.c:4708 tport_by_addrinfo() tport_by_addrinfo(0x7f133c004e80): not found by name UDP/<a href="http://10.201.21.140:5060" target="_blank">10.201.21.140:5060</a></div><div>tport.c:3663 tport_send_fatal() tport_vsend(0x7f133c004e80): Operation not permitted with (s=35 UDP/<a href="http://10.201.21.140:5060" target="_blank">10.201.21.140:5060</a>)</div><div>tport.c:3521 tport_send_msg() tport_vsend returned -1</div><div>nta.c:8542 outgoing_print_tport_error() nta: INVITE (37269853): Operation not permitted (1) with UDP/[10.201.21.140]:5060</div><div>nua_session.c:4135 signal_call_state_change() nua(0x7f136c038fd0): call state changed: init -> calling, sent offer</div><div>soa.c:1268 soa_get_local_sdp() soa_get_local_sdp(static::0x7f133c0412b0, [0x7f1347ffe730], [0x7f1347ffe738], [(nil)]) called</div><div>nua_stack.c:269 nua_stack_event() nua(0x7f136c038fd0): event i_state INVITE sent</div><div>nua_stack.c:359 nua_application_event() nua: nua_application_event: entering</div><div>nua_stack.c:271 nua_stack_event() nua(0x7f136c038fd0): event r_invite 503 Service Unavailable</div><div>nua_session.c:4135 signal_call_state_change() nua(0x7f136c038fd0): call state changed: calling -> init</div><div>nua_stack.c:271 nua_stack_event() nua(0x7f136c038fd0): event i_state 503 Service Unavailable</div><div>nua_stack.c:271 nua_stack_event() nua(0x7f136c038fd0): event i_terminated 503 Service Unavailable</div><div><br></div></div></div></div></div></div></blockquote></div><br></div></div></div>
</div>
</div></div><br><br><br>---------- Forwarded message ----------<br>From: Wayne Chang via FreeSWITCH-users <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>>, Mike Jerris <<a href="mailto:mike@freeswitch.org" target="_blank">mike@freeswitch.org</a>><br>Cc: <br>Bcc: <br>Date: Thu, 17 Jun 2021 00:42:49 -0700 (PDT)<br>Subject: Re: [Freeswitch-users] UDP port Operation not permitted<br>_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div>