<html><head></head><body><div class="ydp331a55a8yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
<div dir="ltr" data-setdir="false">Hi Mike,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">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" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">The issue only happened when running following command from fs_cli.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><span><p class="ydpc36abe43MsoNormal">freeswitch@freeswitch> originate
sofia/external/PaymentIVR2-34117@10.201.21.140 1002</p></span>Thanks</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Wayne</div><div dir="ltr" data-setdir="false"><br></div><div><br></div>
</div><div id="ydpab1c072ayahoo_quoted_3966833341" class="ydpab1c072ayahoo_quoted">
<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 <mike@freeswitch.org> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="ydpab1c072ayiv7896678601"><div><div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;font-size:16px;" class="ydpab1c072ayiv7896678601">tport.c:3663 tport_send_fatal() tport_vsend(0x7f133c004e80): Operation not permitted with (s=35 UDP/10.201.21.140:5060)</div><div class="ydpab1c072ayiv7896678601"><br class="ydpab1c072ayiv7896678601"></div><div class="ydpab1c072ayiv7896678601">write to network failing.</div><div><br class="ydpab1c072ayiv7896678601"><blockquote type="cite" class="ydpab1c072ayiv7896678601"><div class="ydpab1c072ayiv7896678601">On Jun 14, 2021, at 11:42 AM, Wayne Chang via FreeSWITCH-users <<a href="mailto:freeswitch-users@lists.freeswitch.org" class="ydpab1c072ayiv7896678601" rel="nofollow" target="_blank">freeswitch-users@lists.freeswitch.org</a>> wrote:</div><br class="ydpab1c072ayiv7896678601Apple-interchange-newline"><div class="ydpab1c072ayiv7896678601"><br class="ydpab1c072ayiv7896678601"><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;" class="ydpab1c072ayiv7896678601"><span style="font-family:-webkit-system-font, Helvetica Neue, Helvetica, sans-serif;color:rgba(127, 127, 127, 1.0);" class="ydpab1c072ayiv7896678601"><b class="ydpab1c072ayiv7896678601">From: </b></span><span style="font-family:-webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="ydpab1c072ayiv7896678601">Wayne Chang <<a href="mailto:wayne_w_chang@yahoo.com" class="ydpab1c072ayiv7896678601" rel="nofollow" target="_blank">wayne_w_chang@yahoo.com</a>><br class="ydpab1c072ayiv7896678601"></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;" class="ydpab1c072ayiv7896678601"><span style="font-family:-webkit-system-font, Helvetica Neue, Helvetica, sans-serif;color:rgba(127, 127, 127, 1.0);" class="ydpab1c072ayiv7896678601"><b class="ydpab1c072ayiv7896678601">Subject: </b></span><span style="font-family:-webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="ydpab1c072ayiv7896678601"><b class="ydpab1c072ayiv7896678601">UDP port Operation not permitted</b><br class="ydpab1c072ayiv7896678601"></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;" class="ydpab1c072ayiv7896678601"><span style="font-family:-webkit-system-font, Helvetica Neue, Helvetica, sans-serif;color:rgba(127, 127, 127, 1.0);" class="ydpab1c072ayiv7896678601"><b class="ydpab1c072ayiv7896678601">Date: </b></span><span style="font-family:-webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="ydpab1c072ayiv7896678601">June 13, 2021 at 11:41:45 PM MDT<br class="ydpab1c072ayiv7896678601"></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;" class="ydpab1c072ayiv7896678601"><span style="font-family:-webkit-system-font, Helvetica Neue, Helvetica, sans-serif;color:rgba(127, 127, 127, 1.0);" class="ydpab1c072ayiv7896678601"><b class="ydpab1c072ayiv7896678601">To: </b></span><span style="font-family:-webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="ydpab1c072ayiv7896678601">"<a href="mailto:freeswitch-users@lists.freeswitch.org" class="ydpab1c072ayiv7896678601" rel="nofollow" target="_blank">freeswitch-users@lists.freeswitch.org</a>" <<a href="mailto:freeswitch-users@lists.freeswitch.org" class="ydpab1c072ayiv7896678601" rel="nofollow" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br class="ydpab1c072ayiv7896678601"></span></div><br class="ydpab1c072ayiv7896678601"><br class="ydpab1c072ayiv7896678601"><div class="ydpab1c072ayiv7896678601"><div class="ydpab1c072ayiv7896678601yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div dir="ltr" class="ydpab1c072ayiv7896678601">Hi,</div><div dir="ltr" class="ydpab1c072ayiv7896678601"><br class="ydpab1c072ayiv7896678601"></div><div dir="ltr" class="ydpab1c072ayiv7896678601">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" class="ydpab1c072ayiv7896678601"><br class="ydpab1c072ayiv7896678601"></div><div dir="ltr" class="ydpab1c072ayiv7896678601">Thanks. Here is the log.</div><div class="ydpab1c072ayiv7896678601"><br class="ydpab1c072ayiv7896678601"></div><div dir="ltr" class="ydpab1c072ayiv7896678601"><div class="ydpab1c072ayiv7896678601"><div class="ydpab1c072ayiv7896678601">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 class="ydpab1c072ayiv7896678601">soa_static.c:1028 soa_sdp_mode_set() soa_sdp_mode_set(0x7f1347ffc5c0, (nil), ""): called</div><div class="ydpab1c072ayiv7896678601">soa_static.c:1445 offer_answer_step() soa_static(0x7f133c0412b0, soa_generate_offer): storing local description</div><div class="ydpab1c072ayiv7896678601">soa.c:1268 soa_get_local_sdp() soa_get_local_sdp(static::0x7f133c0412b0, [(nil)], [0x7f1347ffe720], [0x7f1347ffe718]) called</div><div class="ydpab1c072ayiv7896678601">2021-06-13 22:08:10.682603 [DEBUG] switch_core_state_machine.c:663 (sofia/external/PaymentIVR2-34117) State CONSUME_MEDIA</div><div class="ydpab1c072ayiv7896678601">nta.c:2694 nta_tpn_by_url() nta: selecting scheme sip</div><div class="ydpab1c072ayiv7896678601">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 class="ydpab1c072ayiv7896678601">tport.c:3285 tport_tsend() tport_tsend(0x7f133c004e80) tpn = UDP/10.201.21.140:5060</div><div class="ydpab1c072ayiv7896678601">tport.c:4071 tport_resolve() tport_resolve addrinfo = 10.201.21.140:5060</div><div class="ydpab1c072ayiv7896678601">tport.c:4708 tport_by_addrinfo() tport_by_addrinfo(0x7f133c004e80): not found by name UDP/10.201.21.140:5060</div><div class="ydpab1c072ayiv7896678601">tport.c:3663 tport_send_fatal() tport_vsend(0x7f133c004e80): Operation not permitted with (s=35 UDP/10.201.21.140:5060)</div><div class="ydpab1c072ayiv7896678601">tport.c:3521 tport_send_msg() tport_vsend returned -1</div><div class="ydpab1c072ayiv7896678601">nta.c:8542 outgoing_print_tport_error() nta: INVITE (37269853): Operation not permitted (1) with UDP/[10.201.21.140]:5060</div><div class="ydpab1c072ayiv7896678601">nua_session.c:4135 signal_call_state_change() nua(0x7f136c038fd0): call state changed: init -> calling, sent offer</div><div class="ydpab1c072ayiv7896678601">soa.c:1268 soa_get_local_sdp() soa_get_local_sdp(static::0x7f133c0412b0, [0x7f1347ffe730], [0x7f1347ffe738], [(nil)]) called</div><div class="ydpab1c072ayiv7896678601">nua_stack.c:269 nua_stack_event() nua(0x7f136c038fd0): event i_state INVITE sent</div><div class="ydpab1c072ayiv7896678601">nua_stack.c:359 nua_application_event() nua: nua_application_event: entering</div><div class="ydpab1c072ayiv7896678601">nua_stack.c:271 nua_stack_event() nua(0x7f136c038fd0): event r_invite 503 Service Unavailable</div><div class="ydpab1c072ayiv7896678601">nua_session.c:4135 signal_call_state_change() nua(0x7f136c038fd0): call state changed: calling -> init</div><div class="ydpab1c072ayiv7896678601">nua_stack.c:271 nua_stack_event() nua(0x7f136c038fd0): event i_state 503 Service Unavailable</div><div class="ydpab1c072ayiv7896678601">nua_stack.c:271 nua_stack_event() nua(0x7f136c038fd0): event i_terminated 503 Service Unavailable</div><div class="ydpab1c072ayiv7896678601"><br class="ydpab1c072ayiv7896678601"></div></div></div></div></div></div></blockquote></div><br class="ydpab1c072ayiv7896678601"></div></div></div>
</div>
</div></body></html>