Hi, They are already available in xml_curl POST, here is the complete post from freeswitch Also, if you need any custom variable, you can export using export application and get it in xml_cdr [hostname=zuhair.host§ion=dialplan&tag_name=&key_name=& key_value=&Event-Name=REQUEST_PARAMS&Core-UUID=24d6453e- 6280-4da3-92cc-176906e77c11&FreeSWITCH-Hostname=zuhair.host& FreeSWITCH-IPv4=74.55.2.196&FreeSWITCH-IPv6=%3A%3A1&Event- Date-Local=2010-07-27%2007%3A02%3A45&Event-Date-GMT=Tue,% 2027%20Jul%202010%2012%3A02%3A45%20GMT&Event-Date- Timestamp=1280232165300887&Event-Calling-File=mod_ dialplan_xml.c&Event-Calling-Function=dialplan_xml_locate& Event-Calling-Line-Number=302&Channel-State=CS_ROUTING& Channel-Call-State=RINGING&Channel-State-Number=2& Channel-Name=sofia/external/5555%4074.55.2.196&Unique- ID=81511956-8239-4ddb-86ac-637fdd1cb784&Call-Direction= inbound&Presence-Call-Direction=inbound&Answer-State=ringing&Channel-Read- Codec-Name=PCMU&Channel-Read-Codec-Rate=8000&Channel-Write- Codec-Name=PCMU&Channel-Write-Codec-Rate=8000&Caller- Username=5555&Caller-Dialplan=XML&Caller-Caller-ID-Name= 5555&Caller-Caller-ID-Number= 5555&Caller-Network-Addr=67.156.22.129&Caller-ANI=5555& Caller-Destination-Number=009922&Caller-Unique-ID=81511956-8239-4ddb-86ac- 637fdd1cb784&Caller-Source=mod_sofia&Caller-Context= public&Caller-Channel-Name= sofia/external/5555%4074.55.2.196&Caller-Profile-Index= 1&Caller-Profile-Created-Time=1280232165298602&Caller-Channel-Created-Time= 1280232165298602&Caller-Channel-Answered-Time=0& Caller-Channel-Progress-Time=0&Caller-Channel-Progress- Media-Time=0&Caller-Channel-Hangup-Time=0&Caller-Channel- Transfer-Time=0&Caller-Screen-Bit=false&Caller-Privacy-Hide- Name=false&Caller-Privacy-Hide-Number=false&variable_ direction=inbound&variable_uuid=81511956-8239-4ddb-86ac- 637fdd1cb784&variable_sip_ local_network_addr=74.55.2.196&variable_sip_network_ip= 67.156.22.129&variable_sip_network_port=8891&variable_ sip_received_ip=67.156.22.129&variable_sip_received_port= 8891&variable_sip_via_protocol=udp&variable_sip_from_user=5555&variable_sip_ from_uri=5555%4074.55.2.196& variable_sip_from_host=74.55.2.196&variable_sip_from_ user_stripped=5555&variable_sip_from_tag=as1c181535& variable_sofia_profile_name=external&variable_sip_Remote- Party-ID=%225555%22%20%3Csip%3A5555%4074.55.2.196%3E% 3Bprivacy%3Doff%3Bscreen%3Dno&variable_sip_cid_type=rpid& variable_sip_full_via=SIP/2.0/UDP%2067.156.22.129%3A8891% 3Bbranch%3Dz9hG4bK3577a299%3Brport%3D8891&variable_sip_ from_display=5555&variable_sip_full_from=%225555%22%20% 3Csip%3A5555%4074.55.2.196%3E%3Btag%3Das1c181535& variable_sip_full_to=%3Csip%3A009922%4074.55.2.196% 3A5080%3E&variable_sip_req_user=009922&variable_sip_req_ port=5080&variable_sip_req_uri=009922%4074.55.2.196% 3A5080&variable_sip_req_host=74.55.2.196&variable_sip_to_ user=009922&variable_sip_to_port=5080&variable_sip_to_uri= 009922%4074.55.2.196%3A5080& variable_sip_to_host=74.55.2.196&variable_sip_contact_ user=5555&variable_sip_contact_port=8891&variable_ sip_contact_uri=5555%4067.156.22.129%3A8891&variable_sip_ contact_host=67.156.22.129&variable_channel_name=sofia/ external/5555%4074.55.2.196&variable_sip_call_id= 2d094fc97c51425911a7bc38726184f2%4074.55.2.196&variable_ sip_user_agent=Asterisk%20PBX& variable_sip_via_host=67.156.22.129&variable_sip_via_port= 8891&variable_sip_via_rport=8891&variable_max_forwards=70& variable_switch_r_sdp=v%3D0%0D%0Ao%3Droot%2019280%2019280% 20IN%20IP4%2067.156.22.129%0D%0As%3Dsession%0D%0Ac%3DIN% 20IP4%2067.156.22.129%0D%0At%3D0%200%0D%0Am%3Daudio% 2018762%20RTP/AVP%200%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/ 8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa% 3Dfmtp%3A101%200-16%0D%0Aa%3DsilenceSupp%3Aoff%20-%20-% 20-%20-%0D%0Aa%3Dptime%3A20%0D%0A&variable_remote_media_ ip=67.156.22.129&variable_remote_media_port=18762& variable_sip_use_codec_name=PCMU&variable_sip_use_codec_ rate=8000&variable_sip_use_codec_ptime=20&variable_read_ codec=PCMU&variable_read_rate=8000&variable_write_codec= PCMU&variable_write_rate=8000&variable_endpoint_disposition= RECEIVED&Hunt-Username=5555&Hunt-Dialplan=XML&Hunt-Caller- ID-Name=5555&Hunt-Caller-ID-Number=5555&Hunt-Network-Addr= 67.156.22.129&Hunt-ANI=5555&Hunt-Destination-Number=009922&Hunt-Unique-ID= 81511956-8239-4ddb-86ac-637fdd1cb784&Hunt-Source=mod_ sofia&Hunt-Context=public&Hunt-Channel-Name=sofia/ external/5555%4074.55.2.196&Hunt-Profile-Index=1&Hunt-Profile-Created-Time= 1280232165298602&Hunt-Channel-Created-Time=1280232165298602& Hunt-Channel-Answered-Time=0&Hunt-Channel-Progress-Time=0& Hunt-Channel-Progress-Media-Time=0&Hunt-Channel-Hangup- Time=0&Hunt-Channel-Transfer-Time=0&Hunt-Screen-Bit=false& Hunt-Privacy-Hide-Name=false&Hunt-Privacy-Hide-Number=false] Regards, Zohair Raza 2012/2/17 Yuriy Nasida <nasida@live.ru>
Hello FS users,
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.
I see list of variables: http://wiki.freeswitch.org/wiki/Mod_xml_curl#Authorization
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.
Please advise. Thanks.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org