Re: [Freeswitch-users] Documentation Questions - updating wiki, channel variables
there are also cases where switch_channel_set_variable is being called so you may want to cross reference those too also if you route call to the info app you can see many magic variables. some of these may be dups but you can factor them into the raw list. sip_from_user sip_from_port sip_from_uri sip_from_host sip_mailbox sip_from_user_stripped sofia_profile_name sip_req_user sip_req_port sip_req_uri sip_req_host sip_to_user sip_to_port sip_to_uri sip_to_host sip_contact_user sip_contact_port sip_contact_uri sip_contact_host sip_call_id sip_via_host sip_via_port sip_via_rport max_forwards switch_r_sdp remote_media_ip remote_media_port endpoint_disposition Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org pstn:213-799-1400 ----- Original Message ---- From: Michael Collins <mcollins@fcnetwork.com> To: freeswitch-users@lists.freeswitch.org Sent: Friday, November 2, 2007 6:35:48 PM Subject: Re: [Freeswitch-users] Documentation Questions - updating wiki, channel variables <!-- _filtered {margin:1.0in 1.25in 1.0in 1.25in;} _filtered {font-family:Courier;panose-1:2 7 4 9 2 2 5 2 4 4;} _filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue;text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple;text-decoration:underline;} span.emailstyle17 {font-family:Arial;color:windowtext;} span.EmailStyle18 {font-family:Arial;color:navy;} _filtered {margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {} --> Okay, I have come up with what I believe to be a pretty accurate list of channel variable names. I’m putting them here for reference, but the bulk of the information is in the pastebin: http://pastebin.freeswitch.org/3432 Please let me know if you see any obvious faults. The pastebin has more info on how I filtered out what seemed obviously not to be channel variables as well as which source files these variables appear in. -MC RECORD_ARTIST RECORD_COMMENT RECORD_COPYRIGHT RECORD_DATE RECORD_SOFTWARE RECORD_STEREO RECORD_TITLE absolute_codec_string alert_info auto_answer_destination bridge_pre_execute_aleg_app bridge_pre_execute_aleg_data bridge_pre_execute_bleg_app bridge_pre_execute_bleg_data bridge_to bypass_media cache_speech_handles call_timeout codec_string conference_auto_outcall_announce conference_auto_outcall_caller_id_name conference_auto_outcall_caller_id_number conference_auto_outcall_flags conference_auto_outcall_timeout continue_on_fail default_language destination_number dl_cid_msg effective_caller_id_name effective_caller_id_number exec_after_bridge_app exec_after_bridge_arg export_vars fifo_announce fifo_music fifo_status fifo_target fifo_timestamp fire_asr_events fs_switch_channel_get_variable hangup_after_bridge hold_music inbound_context inbound_dialplan jitterbuffer_msec language limit_id limit_realm local_media_ip local_media_port local_video_ip local_video_port max_forwards network_addr originator originator_codec pa_hold_file pa_ring_file pass_rfc2833 playback_terminators pound_replace presence_id remote_media_ip remote_media_port remote_video_ip remote_video_port ringback rtp_disable_vad_in rtp_disable_vad_out rtp_enable_vad_in rtp_enable_vad_out rtp_rewrite_timestamps rtp_timeout_sec signal_bond signal_bridge_to sip_auto_answer sip_codec_negotiation sip_to_host sip_to_uri sip_transport sofia_profile_name sound_prefix star_replace stream_prebuffer switch_l_sdp switch_m_sdp switch_r_sdp timer_name tts_engine tts_voice voicemail_authorized voicemail_domain_name voicemail_greeting_number voicemail_id voicemail_profile_name xml_cdr_base From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Friday, November 02, 2007 9:04 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Documentation Questions - updating wiki,channel variables We don't really use freeswitch.info anymore as we now have our own instance of drupal up. As for the variables I try to keep them documented but I do seem to invent a new magic variable about once a day so maybe an audit is in order. I try to make most of them in the code a #define in switch_types.h but there are probably a few stragglers in the modules etc that could be found with a grep for switch_channel_get_variable in the codebase and we could clean it up. Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org pstn:213-799-1400 ----- Original Message ---- From: Michael Collins <mcollins@fcnetwork.com> To: freeswitch-users@lists.freeswitch.org Sent: Friday, November 2, 2007 2:39:28 AM Subject: [Freeswitch-users] Documentation Questions - updating wiki, channel variables Guys, Just wondering if there are still blogs by anthm and pdt, per the wiki main page: http://wiki.freeswitch.org/wiki/Main_Page#Developer_Blogs I know Trixter’s is still there, but what about Paul and Anthony? It’s looking for a domain of freeswitch.info which seems uninhabited. If there are developer blogs I’d like to get the page updated with the correct links, and if there aren’t then I’d like to get the links removed. Secondly, I was curious about channel variables. I know there is a big list here: http://wiki.freeswitch.org/wiki/Channel_Variables I was curious to know if this list is up to date. I see that some are listed as ‘unknown’ which is okay for now – I just want to make sure that all of the variables are on the list. Are all of these defined in switch_types.h? (Just curious – if I know where to look in the source I can compare the source code to the wiki list.) Thanks, MC __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
participants (1)
-
Anthony Minessale