<div dir="ltr"><div>Thanks Yossi and Alex, problem was resolved with your useful guides.<br>For other ways in setting sip headers, i will ask other questions,<br>Thanks again,<br><br>#!/usr/bin/lua<br>require(&quot;ESL&quot;)<br>

command = &#39;originate {sip_h_X-varA=111,sip_h_X-varB=222,ignore_early_media=true,originate_timeout=60}user/<a href="mailto:1000@192.168.1.5">1000@192.168.1.5</a> &amp;playback(/usr/local/freeswitch/scripts/ZamanakSoundLogo.wav)&#39;;<br>

...<br><br>bash# ./makecall.lua<br><br></div>and tcpdump shows to me:<br>....<br>11:57:55.204690 IP 192.168.1.5.sip &gt; 192.168.1.2.53194: SIP, length: 1126<br>.......&quot;_&lt;.&#39;..E...Xv..@................n.4INVITE sip:1000@192.168.1.2:53194;ob SIP/2.0<br>

Via: SIP/2.0/UDP 192.168.1.5;rport;branch=z9hG4bKpHZgXQtQgHQKK<br>Max-Forwards: 70<br>From: &quot;&quot; &lt;<a href="mailto:sip%3A0000000000@192.168.1.5">sip:0000000000@192.168.1.5</a>&gt;;tag=e2yg1t6gc5t4N<br>To: &lt;sip:1000@192.168.1.2:53194;ob&gt;<br>

Call-ID: f67f2b26-e64e-1231-348c-002170ca8788<br>CSeq: 53557573 INVITE<br>Contact: &lt;<a href="http://sip:mod_sofia@192.168.1.5:5060">sip:mod_sofia@192.168.1.5:5060</a>&gt;<br>User-Agent: FreeSWITCH-mod_sofia/1.2.10<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE<br>
Supported: timer, precondition, path, replaces<br>Allow-Events: talk, hold, conference, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer<br>Content-Type: application/sdp<br>

Content-Disposition: session<br>Content-Length: 205<br>X-varA: 111<br>X-varB: 222<br>X-FS-Support: update_display,send_info<br>Remote-Party-ID: &lt;<a href="mailto:sip%3A0000000000@192.168.1.5">sip:0000000000@192.168.1.5</a>&gt;;party=calling;screen=yes;privacy=off<br>

....<br></div>