/AuroraDocs/OSSLFunctions/osSetParcelSIPAddress.lsl
Unknown | 38 lines | 37 code | 1 blank | 0 comment | 0 complexity | 78a0d378704cec167a2d3a1cf0e1bd5e MD5 | raw file
1// ---------------------------------------------------------------- 2// Example / Sample Script to show function use. 3// 4// Script Title: osSetParcelSIPAddress.lsl 5// Script Author: 6// Threat Level: VeryLow 7// Script Source: SUPPLEMENTAL http://opensimulator.org/wiki/osSetParcelSIPAddress 8// 9// Notes: See Script Source reference for more detailed information 10// This sample is full opensource and available to use as you see fit and desire. 11// Threat Levels only apply to OSSL & AA Functions 12// See http://opensimulator.org/wiki/Threat_level 13// ================================================================ 14// C# Source Line: public void osSetParcelSIPAddress(string SIPAddress) 15// Inworld Script Line: osSetParcelSIPAddress(string sSIPAddress); 16// 17// Example of osSetParcelSIPAddress 18// 19/// Set the SIP url to be used by a parcel, this will allow manual setting of a SIP address 20/// for a particular piece of land, allowing region owners to use preconfigured SIP conference channels. 21/// This is used by osSetParcelSIPAddress 22// --- SEE freeswitch_sip_proxy = ip.address.of.freeswitch.server:5060 23// --- SEE vivox_sip_uri = foobar.vivox.com 24 25string sSIPAddress = "ip.address.of.freeswitch.server:5060"; //The SIP address we are setting 26// 27default 28{ 29 state_entry() 30 { 31 llSay(0, "Touch to see how osSetParcelSIPAddress works"); 32 } 33 touch_start(integer num) 34 { 35 llSay(0,"SIP Address being set :"+sSIPAddress); 36 osSetParcelSIPAddress( sSIPAddress); 37 } 38}