<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:"Arial","sans-serif";color:#222222">[hostname=zuhair.host&section=</span><span style>dialplan&tag_name=&key_name=&</span><span style>key_value=&Event-Name=REQUEST_</span><span style>PARAMS&Core-UUID=24d6453e-</span><span style>6280-4da3-92cc-176906e77c11&</span><span style>FreeSWITCH-Hostname=</span><span style>zuhair.host&</span><span style>FreeSWITCH-IPv4=74.55.2.196&</span><span style>FreeSWITCH-IPv6=%3A%3A1&Event-</span><span style>Date-Local=2010-07-27%2007%</span><span style>3A02%3A45&Event-Date-GMT=Tue,%</span><span style>2027%20Jul%202010%2012%3A02%</span><span style>3A45%20GMT&Event-Date-</span><span style>Timestamp=1280232165300887&</span><span style>Event-Calling-File=mod_</span><span style>dialplan_xml.c&Event-Calling-</span><span style>Function=dialplan_xml_locate&</span><span style>Event-Calling-Line-Number=302&</span><span style>Channel-State=CS_ROUTING&</span><span style>Channel-Call-State=RINGING&</span><span style>Channel-State-Number=2&</span><span style>Channel-Name=sofia/external/</span><span style>5555%4074.55.2.196&Unique-</span><span style>ID=81511956-8239-4ddb-86ac-</span><span style>637fdd1cb784&Call-Direction=</span><span style>inbound&Presence-Call-</span><span style>Direction=inbound&Answer-</span><span style>State=ringing&Channel-Read-</span><span style>Codec-Name=PCMU&Channel-Read-</span><span style>Codec-Rate=8000&Channel-Write-</span><span style>Codec-Name=PCMU&Channel-Write-</span><span style>Codec-Rate=8000&Caller-</span><span style>Username=5555&Caller-Dialplan=</span><span style>XML&Caller-Caller-ID-Name=</span><span style>5555&Caller-Caller-ID-Number=</span><span style>5555&Caller-Network-Addr=67.156.22.129&Caller-ANI=5555&</span><span style>Caller-Destination-Number=</span><span style>009922&Caller-Unique-ID=</span><span style>81511956-8239-4ddb-86ac-</span><span style>637fdd1cb784&Caller-Source=</span><span style>mod_sofia&Caller-Context=</span><span style>public&Caller-Channel-Name=</span><span style>sofia/external/5555%4074.55.2.196&Caller-Profile-Index=</span><span style>1&Caller-Profile-Created-Time=</span><span style>1280232165298602&Caller-</span><span style>Channel-Created-Time=</span><span style>1280232165298602&Caller-</span><span style>Channel-Answered-Time=0&</span><span style>Caller-Channel-Progress-Time=</span><span style>0&Caller-Channel-Progress-</span><span style>Media-Time=0&Caller-Channel-</span><span style>Hangup-Time=0&Caller-Channel-</span><span style>Transfer-Time=0&Caller-Screen-</span><span style>Bit=false&Caller-Privacy-Hide-</span><span style>Name=false&Caller-Privacy-</span><span style>Hide-Number=false&variable_</span><span style>direction=inbound&variable_</span><span style>uuid=81511956-8239-4ddb-86ac-</span><span style>637fdd1cb784&variable_sip_</span><span style>local_network_addr=74.55.2.196&variable_sip_network_ip=</span><span style>67.156.22.129&variable_sip_</span><span style>network_port=8891&variable_</span><span style>sip_received_ip=67.156.22.129&</span><span style>variable_sip_received_port=</span><span style>8891&variable_sip_via_</span><span style>protocol=udp&variable_sip_</span><span style>from_user=5555&variable_sip_</span><span style>from_uri=5555%4074.55.2.196&</span><span style>variable_sip_from_host=74.55.2.196&variable_sip_from_</span><span style>user_stripped=5555&variable_</span><span style>sip_from_tag=as1c181535&</span><span style>variable_sofia_profile_name=</span><span style>external&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&</span><span style>variable_sip_cid_type=rpid&</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&variable_sip_</span><span style>from_display=5555&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&</span><span style>variable_sip_full_to=%3Csip%</span><span style>3A009922%4074.55.2.196%</span><span style>3A5080%3E&variable_sip_req_</span><span style>user=009922&variable_sip_req_</span><span style>port=5080&variable_sip_req_</span><span style>uri=009922%4074.55.2.196%</span><span style>3A5080&variable_sip_req_host=</span><span style>74.55.2.196&variable_sip_to_</span><span style>user=009922&variable_sip_to_</span><span style>port=5080&variable_sip_to_uri=</span><span style>009922%4074.55.2.196%3A5080&</span><span style>variable_sip_to_host=74.55.2.196&variable_sip_contact_</span><span style>user=5555&variable_sip_</span><span style>contact_port=8891&variable_</span><span style>sip_contact_uri=5555%4067.156.22.129%3A8891&variable_sip_</span><span style>contact_host=67.156.22.129&</span><span style>variable_channel_name=sofia/</span><span style>external/5555%4074.55.2.196&</span><span style>variable_sip_call_id=</span><span style>2d094fc97c51425911a7bc38726184</span><span style>f2%4074.55.2.196&variable_</span><span style>sip_user_agent=Asterisk%20PBX&</span><span style>variable_sip_via_host=67.156.22.129&variable_sip_via_port=</span><span style>8891&variable_sip_via_rport=</span><span style>8891&variable_max_forwards=70&</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&variable_remote_media_</span><span style>ip=67.156.22.129&variable_</span><span style>remote_media_port=18762&</span><span style>variable_sip_use_codec_name=</span><span style>PCMU&variable_sip_use_codec_</span><span style>rate=8000&variable_sip_use_</span><span style>codec_ptime=20&variable_read_</span><span style>codec=PCMU&variable_read_rate=</span><span style>8000&variable_write_codec=</span><span style>PCMU&variable_write_rate=8000&</span><span style>variable_endpoint_disposition=</span><span style>RECEIVED&Hunt-Username=5555&</span><span style>Hunt-Dialplan=XML&Hunt-Caller-</span><span style>ID-Name=5555&Hunt-Caller-ID-</span><span style>Number=5555&Hunt-Network-Addr=</span><span style>67.156.22.129&Hunt-ANI=5555&</span><span style>Hunt-Destination-Number=</span><span style>009922&Hunt-Unique-ID=</span><span style>81511956-8239-4ddb-86ac-</span><span style>637fdd1cb784&Hunt-Source=mod_</span><span style>sofia&Hunt-Context=public&</span><span style>Hunt-Channel-Name=sofia/</span><span style>external/5555%4074.55.2.196&</span><span style>Hunt-Profile-Index=1&Hunt-</span><span style>Profile-Created-Time=</span><span style>1280232165298602&Hunt-Channel-</span><span style>Created-Time=1280232165298602&</span><span style>Hunt-Channel-Answered-Time=0&</span><span style>Hunt-Channel-Progress-Time=0&</span><span style>Hunt-Channel-Progress-Media-</span><span style>Time=0&Hunt-Channel-Hangup-</span><span style>Time=0&Hunt-Channel-Transfer-</span><span style>Time=0&Hunt-Screen-Bit=false&</span><span style>Hunt-Privacy-Hide-Name=false&</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"><<a href="mailto:nasida@live.ru">nasida@live.ru</a>></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'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>