<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Multiple accounts and &quot;Calls Live&quot;</title>
		<link>http://wikipbx.subwiki.com/forum/t-248292/multiple-accounts-and-calls-live</link>
		<description>Posts in the discussion thread &quot;Multiple accounts and &quot;Calls Live&quot;&quot; - Different accounts are able to see and hangup all active FS calls.</description>
				<copyright></copyright>
		<lastBuildDate>Mon, 06 Feb 2012 00:45:49 +0000</lastBuildDate>
		
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-248292#post-810879</guid>
				<title>Re: Multiple accounts and &quot;Calls Live&quot;</title>
				<link>http://wikipbx.subwiki.com/forum/t-248292/multiple-accounts-and-calls-live#post-810879</link>
				<description></description>
				<pubDate>Thu, 17 Jun 2010 20:41:34 +0000</pubDate>
				<wikidot:authorName>stas_shtin</wikidot:authorName>				<wikidot:authorUserId>230176</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I don't think it's a problem if two channels won't be visible in this case. In fact, it would be easier for the user to figure out which call he wants to hangup. The same goes to CDR - users are interested in calls rather than channels.</p> <p>But we can get another issue here. After adding multi-tenancy to wikipbx Traun noticed that that one of the gateways was using his server's IP instead of domain name for making incoming calls. We've got a workaround for authenticating such calls - domain name is specified in SIP request parameters that are received in SIP invite later. However, we won't be able to use that parameters for filtering channels as they aren't available in freeswitch command's response. In this case, it's still better to be too restrictive than too permissive, but I'd prefer to have something that always works correctly. One thing I haven't thought before is replacing IP with domain in channel variable after applying domain hack - this could work in theory.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-248292#post-810617</guid>
				<title>Re: Multiple accounts and &quot;Calls Live&quot;</title>
				<link>http://wikipbx.subwiki.com/forum/t-248292/multiple-accounts-and-calls-live#post-810617</link>
				<description></description>
				<pubDate>Thu, 17 Jun 2010 13:25:51 +0000</pubDate>
				<wikidot:authorName>ledda</wikidot:authorName>				<wikidot:authorUserId>497236</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>While making two simultaneous calls from one extension I see the following channels:</p> <p>uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,write_codec,write_rate,secure,hostname,presence_id,presence_data</p> <p>41b249f8-7a0f-11df-971d-674148912bd7,inbound,2010-06-17&nbsp;15:52:58,1276779179,sofia/DCext/<span class="wiki-email">13.1.861.291|101#13.1.861.291|101</span>,CS_EXECUTE,Dimaa M 1234,101,192.168.1.13,103,bridge,sofia/gateway/My_DC_gw/441,XML,enum,default,PCMU,8000,PCMU,8000<sub>ast</sub></p> <p>41c6b1c2-7a0f-11df-971f-674148912bd7,outbound,2010-06-17&nbsp;15:52:59,1276779179,sofia/DCext/441,CS_EXCHANGE_MEDIA,Dimaa M 1234,101,192.168.1.13,441,playback,local_stream://moh,XML,enum,default,PCMU,8000,PCMU,8000<sub>ast</sub></p> <p>4c05a792-7a0f-11df-9725-674148912bd7,outbound,2010-06-17&nbsp;15:53:16,1276779196,sofia/DCext/441,CS_REPORTING,Dimaa M 1234,101,192.168.1.13,441<sub>,XML,enum,default,PCMU,8000,PCMU,8000</sub>ast,,</p> <p>5796698e-7a0f-11df-9728-674148912bd7,inbound,2010-06-17&nbsp;15:53:35,1276779215,sofia/DCext/<span class="wiki-email">13.1.861.291|101#13.1.861.291|101</span>,CS_EXECUTE,Dimaa M 1234,101,192.168.1.13,106,echo<sub>XML,enum,default,PCMU,8000,PCMU,8000</sub>ast,,</p> <p>4 total.</p> <p>It seems to me the only common part in these channels is DCext profile name. So if every tenant has its own profile, channels can be filtered by profile.</p> <p>Channels 1 and 4 can be filtered by domain name, but then channels 2 and 3 wont be visible in any Account.</p> <p>Probably the same approach should be applied to CDRs for the cases where right now we raise an error:<br /> "Cannot associate this CDR with an account. Did not find either a valid account_id or domain_name channel variable"</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-248292#post-810009</guid>
				<title>Re: Multiple accounts and &quot;Calls Live&quot;</title>
				<link>http://wikipbx.subwiki.com/forum/t-248292/multiple-accounts-and-calls-live#post-810009</link>
				<description></description>
				<pubDate>Wed, 16 Jun 2010 17:29:37 +0000</pubDate>
				<wikidot:authorName>stas_shtin</wikidot:authorName>				<wikidot:authorUserId>230176</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>It's a bug. I've added it to our bug tracker.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-248292#post-809878</guid>
				<title>Multiple accounts and &quot;Calls Live&quot;</title>
				<link>http://wikipbx.subwiki.com/forum/t-248292/multiple-accounts-and-calls-live#post-809878</link>
				<description></description>
				<pubDate>Wed, 16 Jun 2010 13:29:01 +0000</pubDate>
				<wikidot:authorName>ledda</wikidot:authorName>				<wikidot:authorUserId>497236</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I have two accounts configured.<br /> When endpoint of account1 is making call account2 is able to see and hangup this call.</p> <p>It seems to me that in multi tenant install accounts should not be able to see and control calls of other accounts.</p> <p>Is it a bug or feature?</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>
