<div dir="ltr">Hi, <div><br></div><div>They are already available in xml_curl POST, here is the complete post from freeswitch </div><div><br></div><div>Also, if you need any custom variable, you can export using export application and get it in xml_cdr</div>

<div><br></div><div><p class="MsoNormal"><span style="font-size:8.5pt;line-height:115%;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222">[hostname=zuhair.host&amp;section=</span><span style>dialplan&amp;tag_name=&amp;key_name=&amp;</span><span style>key_value=&amp;Event-Name=REQUEST_</span><span style>PARAMS&amp;Core-UUID=24d6453e-</span><span style>6280-4da3-92cc-176906e77c11&amp;</span><span style>FreeSWITCH-Hostname=</span><span style>zuhair.host&amp;</span><span style>FreeSWITCH-IPv4=74.55.2.196&amp;</span><span style>FreeSWITCH-IPv6=%3A%3A1&amp;Event-</span><span style>Date-Local=2010-07-27%2007%</span><span style>3A02%3A45&amp;Event-Date-GMT=Tue,%</span><span style>2027%20Jul%202010%2012%3A02%</span><span style>3A45%20GMT&amp;Event-Date-</span><span style>Timestamp=1280232165300887&amp;</span><span style>Event-Calling-File=mod_</span><span style>dialplan_xml.c&amp;Event-Calling-</span><span style>Function=dialplan_xml_locate&amp;</span><span style>Event-Calling-Line-Number=302&amp;</span><span style>Channel-State=CS_ROUTING&amp;</span><span style>Channel-Call-State=RINGING&amp;</span><span style>Channel-State-Number=2&amp;</span><span style>Channel-Name=sofia/external/</span><span style>5555%4074.55.2.196&amp;Unique-</span><span style>ID=81511956-8239-4ddb-86ac-</span><span style>637fdd1cb784&amp;Call-Direction=</span><span style>inbound&amp;Presence-Call-</span><span style>Direction=inbound&amp;Answer-</span><span style>State=ringing&amp;Channel-Read-</span><span style>Codec-Name=PCMU&amp;Channel-Read-</span><span style>Codec-Rate=8000&amp;Channel-Write-</span><span style>Codec-Name=PCMU&amp;Channel-Write-</span><span style>Codec-Rate=8000&amp;Caller-</span><span style>Username=5555&amp;Caller-Dialplan=</span><span style>XML&amp;Caller-Caller-ID-Name=</span><span style>5555&amp;Caller-Caller-ID-Number=</span><span style>5555&amp;Caller-Network-Addr=67.156.22.129&amp;Caller-ANI=5555&amp;</span><span style>Caller-Destination-Number=</span><span style>009922&amp;Caller-Unique-ID=</span><span style>81511956-8239-4ddb-86ac-</span><span style>637fdd1cb784&amp;Caller-Source=</span><span style>mod_sofia&amp;Caller-Context=</span><span style>public&amp;Caller-Channel-Name=</span><span style>sofia/external/5555%4074.55.2.196&amp;Caller-Profile-Index=</span><span style>1&amp;Caller-Profile-Created-Time=</span><span style>1280232165298602&amp;Caller-</span><span style>Channel-Created-Time=</span><span style>1280232165298602&amp;Caller-</span><span style>Channel-Answered-Time=0&amp;</span><span style>Caller-Channel-Progress-Time=</span><span style>0&amp;Caller-Channel-Progress-</span><span style>Media-Time=0&amp;Caller-Channel-</span><span style>Hangup-Time=0&amp;Caller-Channel-</span><span style>Transfer-Time=0&amp;Caller-Screen-</span><span style>Bit=false&amp;Caller-Privacy-Hide-</span><span style>Name=false&amp;Caller-Privacy-</span><span style>Hide-Number=false&amp;variable_</span><span style>direction=inbound&amp;variable_</span><span style>uuid=81511956-8239-4ddb-86ac-</span><span style>637fdd1cb784&amp;variable_sip_</span><span style>local_network_addr=74.55.2.196&amp;variable_sip_network_ip=</span><span style>67.156.22.129&amp;variable_sip_</span><span style>network_port=8891&amp;variable_</span><span style>sip_received_ip=67.156.22.129&amp;</span><span style>variable_sip_received_port=</span><span style>8891&amp;variable_sip_via_</span><span style>protocol=udp&amp;variable_sip_</span><span style>from_user=5555&amp;variable_sip_</span><span style>from_uri=5555%4074.55.2.196&amp;</span><span style>variable_sip_from_host=74.55.2.196&amp;variable_sip_from_</span><span style>user_stripped=5555&amp;variable_</span><span style>sip_from_tag=as1c181535&amp;</span><span style>variable_sofia_profile_name=</span><span style>external&amp;variable_sip_Remote-</span><span style>Party-ID=%225555%22%20%3Csip%</span><span style>3A5555%4074.55.2.196%3E%</span><span style>3Bprivacy%3Doff%3Bscreen%3Dno&amp;</span><span style>variable_sip_cid_type=rpid&amp;</span><span style>variable_sip_full_via=SIP/2.0/</span><span style>UDP%2067.156.22.129%3A8891%</span><span style>3Bbranch%3Dz9hG4bK3577a299%</span><span style>3Brport%3D8891&amp;variable_sip_</span><span style>from_display=5555&amp;variable_</span><span style>sip_full_from=%225555%22%20%</span><span style>3Csip%3A5555%4074.55.2.196%</span><span style>3E%3Btag%3Das1c181535&amp;</span><span style>variable_sip_full_to=%3Csip%</span><span style>3A009922%4074.55.2.196%</span><span style>3A5080%3E&amp;variable_sip_req_</span><span style>user=009922&amp;variable_sip_req_</span><span style>port=5080&amp;variable_sip_req_</span><span style>uri=009922%4074.55.2.196%</span><span style>3A5080&amp;variable_sip_req_host=</span><span style>74.55.2.196&amp;variable_sip_to_</span><span style>user=009922&amp;variable_sip_to_</span><span style>port=5080&amp;variable_sip_to_uri=</span><span style>009922%4074.55.2.196%3A5080&amp;</span><span style>variable_sip_to_host=74.55.2.196&amp;variable_sip_contact_</span><span style>user=5555&amp;variable_sip_</span><span style>contact_port=8891&amp;variable_</span><span style>sip_contact_uri=5555%4067.156.22.129%3A8891&amp;variable_sip_</span><span style>contact_host=67.156.22.129&amp;</span><span style>variable_channel_name=sofia/</span><span style>external/5555%4074.55.2.196&amp;</span><span style>variable_sip_call_id=</span><span style>2d094fc97c51425911a7bc38726184</span><span style>f2%4074.55.2.196&amp;variable_</span><span style>sip_user_agent=Asterisk%20PBX&amp;</span><span style>variable_sip_via_host=67.156.22.129&amp;variable_sip_via_port=</span><span style>8891&amp;variable_sip_via_rport=</span><span style>8891&amp;variable_max_forwards=70&amp;</span><span style>variable_switch_r_sdp=v%3D0%</span><span style>0D%0Ao%3Droot%2019280%2019280%</span><span style>20IN%20IP4%2067.156.22.129%0D%</span><span style>0As%3Dsession%0D%0Ac%3DIN%</span><span style>20IP4%2067.156.22.129%0D%0At%</span><span style>3D0%200%0D%0Am%3Daudio%</span><span style>2018762%20RTP/AVP%200%20101%</span><span style>0D%0Aa%3Drtpmap%3A0%20PCMU/</span><span style>8000%0D%0Aa%3Drtpmap%3A101%</span><span style>20telephone-event/8000%0D%0Aa%</span><span style>3Dfmtp%3A101%200-16%0D%0Aa%</span><span style>3DsilenceSupp%3Aoff%20-%20-%</span><span style>20-%20-%0D%0Aa%3Dptime%3A20%</span><span style>0D%0A&amp;variable_remote_media_</span><span style>ip=67.156.22.129&amp;variable_</span><span style>remote_media_port=18762&amp;</span><span style>variable_sip_use_codec_name=</span><span style>PCMU&amp;variable_sip_use_codec_</span><span style>rate=8000&amp;variable_sip_use_</span><span style>codec_ptime=20&amp;variable_read_</span><span style>codec=PCMU&amp;variable_read_rate=</span><span style>8000&amp;variable_write_codec=</span><span style>PCMU&amp;variable_write_rate=8000&amp;</span><span style>variable_endpoint_disposition=</span><span style>RECEIVED&amp;Hunt-Username=5555&amp;</span><span style>Hunt-Dialplan=XML&amp;Hunt-Caller-</span><span style>ID-Name=5555&amp;Hunt-Caller-ID-</span><span style>Number=5555&amp;Hunt-Network-Addr=</span><span style>67.156.22.129&amp;Hunt-ANI=5555&amp;</span><span style>Hunt-Destination-Number=</span><span style>009922&amp;Hunt-Unique-ID=</span><span style>81511956-8239-4ddb-86ac-</span><span style>637fdd1cb784&amp;Hunt-Source=mod_</span><span style>sofia&amp;Hunt-Context=public&amp;</span><span style>Hunt-Channel-Name=sofia/</span><span style>external/5555%4074.55.2.196&amp;</span><span style>Hunt-Profile-Index=1&amp;Hunt-</span><span style>Profile-Created-Time=</span><span style>1280232165298602&amp;Hunt-Channel-</span><span style>Created-Time=1280232165298602&amp;</span><span style>Hunt-Channel-Answered-Time=0&amp;</span><span style>Hunt-Channel-Progress-Time=0&amp;</span><span style>Hunt-Channel-Progress-Media-</span><span style>Time=0&amp;Hunt-Channel-Hangup-</span><span style>Time=0&amp;Hunt-Channel-Transfer-</span><span style>Time=0&amp;Hunt-Screen-Bit=false&amp;</span><span style>Hunt-Privacy-Hide-Name=false&amp;</span><span style>Hunt-Privacy-Hide-Number=</span><span style>false]</span></p>

<p class="MsoNormal"><span style><br></span></p><div dir="ltr">Regards,<br>Zohair Raza<div><br></div></div><div class="gmail_quote">2012/2/17 Yuriy Nasida <span dir="ltr">&lt;<a href="mailto:nasida@live.ru">nasida@live.ru</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">
<div>Hello FS users,</div><div><br></div><div>I search some way for recieving more variables which my php script recieves in array - $_REQUEST from xml_curl module (it is intralanman&#39;s scripts) in case of recieving sip message - REGISTER from some sip device.</div>

<div><br></div><div>I see list of variables:</div><div><a href="http://wiki.freeswitch.org/wiki/Mod_xml_curl#Authorization" target="_blank">http://wiki.freeswitch.org/wiki/Mod_xml_curl#Authorization</a> </div><div><br></div>

<div>But, I need more. For example I need to know source sip port of endpoint. Also I have to know full SIP contact header from REGISTER request.</div><div><br></div><div>Please advise.</div><div>Thanks.</div><br>                                               </div>

</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>