OsSetParcelSIPAddress
From OpenSimulator
(Difference between revisions)
m (XEngine to OSSL) |
|||
(10 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{osslfunc | |
+ | |threat_level=VeryLow | ||
+ | |permissions=${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | ||
+ | |delay=0 | ||
+ | |function_syntax= osSetParcelSIPAddress(string SIPAddress) | ||
+ | |ossl_example=<source lang = "lsl"> | ||
+ | // ---------------------------------------------------------------- | ||
+ | // Example / Sample Script to show function use. | ||
+ | // | ||
+ | // Script Title: osSetParcelSIPAddress.lsl | ||
+ | // Script Author: | ||
+ | // Threat Level: VeryLow | ||
+ | // Script Source: SUPPLEMENTAL http://opensimulator.org/wiki/osSetParcelSIPAddress | ||
+ | // | ||
+ | // Notes: See Script Source reference for more detailed information | ||
+ | // This sample is full opensource and available to use as you see fit and desire. | ||
+ | // Threat Levels only apply to OSSL & AA Functions | ||
+ | // See http://opensimulator.org/wiki/Threat_level | ||
+ | // ================================================================ | ||
+ | // C# Source Line: public void osSetParcelSIPAddress(string SIPAddress) | ||
+ | // Inworld Script Line: osSetParcelSIPAddress(string sSIPAddress); | ||
+ | // | ||
+ | // Example of osSetParcelSIPAddress | ||
+ | // | ||
+ | /// Set the SIP url to be used by a parcel, this will allow manual setting of a SIP address | ||
+ | /// for a particular piece of land, allowing region owners to use preconfigured SIP conference channels. | ||
+ | /// This is used by osSetParcelSIPAddress | ||
+ | // --- SEE freeswitch_sip_proxy = ip.address.of.freeswitch.server:5060 | ||
+ | // --- SEE vivox_sip_uri = foobar.vivox.com | ||
− | + | string sSIPAddress = "ip.address.of.freeswitch.server:5060"; //The SIP address we are setting | |
− | + | // | |
− | + | default | |
− | + | { | |
− | + | state_entry() | |
+ | { | ||
+ | llSay(0, "Touch to see how osSetParcelSIPAddress works"); | ||
+ | } | ||
+ | touch_start(integer num) | ||
+ | { | ||
+ | llSay(0,"SIP Address being set :"+sSIPAddress); | ||
+ | osSetParcelSIPAddress( sSIPAddress); | ||
+ | } | ||
+ | } | ||
+ | </source> | ||
+ | |description= | ||
+ | | | ||
+ | }} |
Latest revision as of 06:43, 7 November 2019
osSetParcelSIPAddress(string SIPAddress)
| |
No descriptions provided | |
Threat Level | VeryLow |
Permissions | ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER |
Extra Delay | 0 seconds |
Example(s) | |
// ---------------------------------------------------------------- // Example / Sample Script to show function use. // // Script Title: osSetParcelSIPAddress.lsl // Script Author: // Threat Level: VeryLow // Script Source: SUPPLEMENTAL http://opensimulator.org/wiki/osSetParcelSIPAddress // // Notes: See Script Source reference for more detailed information // This sample is full opensource and available to use as you see fit and desire. // Threat Levels only apply to OSSL & AA Functions // See http://opensimulator.org/wiki/Threat_level // ================================================================ // C# Source Line: public void osSetParcelSIPAddress(string SIPAddress) // Inworld Script Line: osSetParcelSIPAddress(string sSIPAddress); // // Example of osSetParcelSIPAddress // /// Set the SIP url to be used by a parcel, this will allow manual setting of a SIP address /// for a particular piece of land, allowing region owners to use preconfigured SIP conference channels. /// This is used by osSetParcelSIPAddress // --- SEE freeswitch_sip_proxy = ip.address.of.freeswitch.server:5060 // --- SEE vivox_sip_uri = foobar.vivox.com string sSIPAddress = "ip.address.of.freeswitch.server:5060"; //The SIP address we are setting // default { state_entry() { llSay(0, "Touch to see how osSetParcelSIPAddress works"); } touch_start(integer num) { llSay(0,"SIP Address being set :"+sSIPAddress); osSetParcelSIPAddress( sSIPAddress); } } |