<div dir="ltr">I am trying to send an INFO message via ESL but I am having trouble.  It looks like the logic in mod_sofia.c doesn't support external devices behind nat.  When I generate the event via ESL as shown below the SIP INFO message has a to-uri with the private nat ip address and the message never reaches the phone.<div>Is there a better way to sent CSTA INFO based messages or is there another way to hand craft SIP messages via ESL?  </div><div>Using sendevent NOTIFY will properly build the SIP message but since it isn't the rfc dictated INFO message it will not work (strangely enough the NOTIFY message is being used for CSTA messages for sendevent SWITCH_EVENT_PHONE_FEATURE).</div><div><br><div><br></div><div>See mod_sofia.c at line 5699 for <span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre">SWITCH_EVENT_SEND_INFO</span>: </div><div><a href="https://github.com/signalwire/freeswitch/blob/v1.10/src/mod/endpoints/mod_sofia/mod_sofia.c">https://github.com/signalwire/freeswitch/blob/v1.10/src/mod/endpoints/mod_sofia/mod_sofia.c</a>  <br><div><br></div><div><br></div><div>sendevent SEND_INFO<br>profile: internal<br>from-uri: sip:1003@labDomain.com<br>to-uri: sip:1003@labDomain.com<br>local-user: 1003@labDomain.com<br>content-type: application/csta+xml<br>Content-Disposition: signal;handling=required<br>content-length: 275<br><br><?xml version="1.0" encoding="UTF-8"?><MakeCall xmlns="<a href="http://www.ecma-international.org/standards/ecma-323/csta/ed3">http://www.ecma-international.org/standards/ecma-323/csta/ed3</a>"><callingDevice>sip:1003@labDomain.com</callingDevice><calledDirectoryNumber>1016</calledDirectoryNumber><autoOriginate>doNotPrompt</autoOriginate></MakeCall><br></div></div></div><div><br></div><div>Thank you.</div><div>Brent Bailey</div><div><br></div></div>