<?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>Endpoints offline and CDR</title>
		<link>http://wikipbx.subwiki.com/forum/t-160448/endpoints-offline-and-cdr</link>
		<description>Posts in the discussion thread &quot;Endpoints offline and CDR&quot;</description>
				<copyright></copyright>
		<lastBuildDate>Sun, 05 Sep 2010 03:29:02 +0000</lastBuildDate>
		
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-160448#post-530026</guid>
				<title>Re: Endpoints offline and CDR</title>
				<link>http://wikipbx.subwiki.com/forum/t-160448/endpoints-offline-and-cdr#post-530026</link>
				<description></description>
				<pubDate>Thu, 09 Jul 2009 22:36:28 +0000</pubDate>
				<wikidot:authorName>visuallinux</wikidot:authorName>				<wikidot:authorUserId>329579</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Ok tleyden excuse, i will do.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-160448#post-528886</guid>
				<title>Re: Endpoints offline and CDR</title>
				<link>http://wikipbx.subwiki.com/forum/t-160448/endpoints-offline-and-cdr#post-528886</link>
				<description></description>
				<pubDate>Wed, 08 Jul 2009 18:53:43 +0000</pubDate>
				<wikidot:authorName>tleyden</wikidot:authorName>				<wikidot:authorUserId>230690</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I just realized something .. this question has absolutely nothing to do with "Endpoints offline and CDR" :) To keep this forum well organized, everybody must adhere by some basic posting rules .. and rule #1 is to create a new forum thread for a different topic, even though it may be slightly less work to just hijack an existing thread.</p> <p>Using wikipbx and posting questions to the forum, fixing broken / misleading wiki pages is the best way to help out the project.</p> <p>So for your original question, I think we should back up and look at your original requirements and then go from there. How about we start a new thread called "Retail traffic from endpoints and wholesale traffic from gateways" and you write out your requirements, and we will try to suggest a way to set this up using wikipbx and freeswitch. To me that is an interesting setup and I'm sure its interesting to a lot of people. It may expose some missing features in WIkiPBX that we need to put on the high priority list of things to fix.</p> <p>Try to explain it using fake retail/wholesale customer names and describe what service you want to provide to each. For example:</p> <ul> <li>Joe, Bill, and Bob from foo.com register to my pbx. They can call eachother, or they can dial to the PSTN out of their gateway X.</li> <li>bar.com sends SIP traffic to my box and I bridge out of gateway Y. I need to authenticate bar.com so that only bar.com can send out of gateway Y.</li> </ul> <p>Etc..</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-160448#post-527956</guid>
				<title>Re: Endpoints offline and CDR</title>
				<link>http://wikipbx.subwiki.com/forum/t-160448/endpoints-offline-and-cdr#post-527956</link>
				<description></description>
				<pubDate>Tue, 07 Jul 2009 16:57:48 +0000</pubDate>
				<wikidot:authorName>visuallinux</wikidot:authorName>				<wikidot:authorUserId>329579</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Yes, effectively i need understand how create differents extensions for end points and gateways for each profile name from Wikipbx.</p> <p>In my company i have traffic retail from end points and traffic wholesale from differents customers (Gateways), and i want change my actually platform for Wikipbx &amp; FS, but first i need understand how i can do. I f you give some example i am very grateful.</p> <p>Another questions is the default config in install of FS and Wikipbx some external gateway can send traffic to my IP (FS and Wikipbx) how i can restricted this only for external gateways registered?.</p> <p>Yes i know the last questions is for FreeSWITCH list, but when i consulting to list and they know that i use wikipbx i not receive support.</p> <p>Also i can contribute with this project writing documentation if you want, or how i can help you with some how to?</p> <p>Fernando.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-160448#post-527947</guid>
				<title>Re: Endpoints offline and CDR</title>
				<link>http://wikipbx.subwiki.com/forum/t-160448/endpoints-offline-and-cdr#post-527947</link>
				<description></description>
				<pubDate>Tue, 07 Jul 2009 16:48:21 +0000</pubDate>
				<wikidot:authorName>stas_shtin</wikidot:authorName>				<wikidot:authorUserId>230176</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>You're right about extension - it's the extension to use for incoming call from that gateway.</p> <p>I don't understand the difference between "the inbound calls for this new profile must going to port" and "this new gateway must send traffic to port" - sounds like the same thing to me. Have a look at <a href="http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#Multiple_User_Agents_.28Profiles.29_and_the_Dialplan">freeswitch profile docs</a>.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-160448#post-527922</guid>
				<title>Re: Endpoints offline and CDR</title>
				<link>http://wikipbx.subwiki.com/forum/t-160448/endpoints-offline-and-cdr#post-527922</link>
				<description></description>
				<pubDate>Tue, 07 Jul 2009 16:16:20 +0000</pubDate>
				<wikidot:authorName>visuallinux</wikidot:authorName>				<wikidot:authorUserId>329579</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>When i create a new gateway from wikipbx i need complete some fields in the form, example:</p> <p>Gateway name = foo<br /> User name = foo<br /> Password = foo<br /> Proxy = 10.0.1.2<br /> Extension = foo (*optional*)</p> <p>Later i need create a extension for this new Gateway named "foo" for inbound calls like this:</p> <p>&lt;extension name="foo"&gt;<br /> &lt;action application="bridge" data="sofia/gateway/gw/$1"/&gt;<br /> &lt;/extension&gt;</p> <p>This is OK?</p> <p>Regarding of the sip port, if i create a new admin account in port 5062 for example so the inbound calls for this new profile must going to port 5062? or if i have a new gateway on this new profile , this new gateway must send traffic to port 5062 or 5060?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-160448#post-527730</guid>
				<title>Re: Endpoints offline and CDR</title>
				<link>http://wikipbx.subwiki.com/forum/t-160448/endpoints-offline-and-cdr#post-527730</link>
				<description></description>
				<pubDate>Tue, 07 Jul 2009 10:09:41 +0000</pubDate>
				<wikidot:authorName>stas_shtin</wikidot:authorName>				<wikidot:authorUserId>230176</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Freeswitch and asterisk have pretty much the same notion of extensions and contexts. However, freeswitch has dialplan actions inside an extension, while asterisk has multiple actions following each other in such cases.</p> <p>Have a look at <a href="http://wiki.freeswitch.org/wiki/Dialplan_XML">freeswitch dialplan docs</a>.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-160448#post-527647</guid>
				<title>Re: Endpoints offline and CDR</title>
				<link>http://wikipbx.subwiki.com/forum/t-160448/endpoints-offline-and-cdr#post-527647</link>
				<description></description>
				<pubDate>Tue, 07 Jul 2009 07:16:31 +0000</pubDate>
				<wikidot:authorName>tleyden</wikidot:authorName>				<wikidot:authorUserId>230690</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p>So for each admin's account i use differents sip port 5061, 5062….., it's fine?</p> </blockquote> <p>Yup, that is the way to do it for now. Eventually this will change, see <a href="http://wikipbx.subwiki.com/forum/t-164964/planned-change:domain-based-multi-tenancy-instead-of-profile-based-multi-tenancy">Planned change: domain-based multi-tenancy instead of profile based multi-tenancy</a></p> <blockquote> <p>Other questions; how i can use field "extension" on the dial plan (extensions of wikipbx) when i create a new Gateway?; is similar to context name of Asterisk?.</p> </blockquote> <p>I'm confused .. what exactly are you trying to accomplish?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-160448#post-527527</guid>
				<title>Re: Endpoints offline and CDR</title>
				<link>http://wikipbx.subwiki.com/forum/t-160448/endpoints-offline-and-cdr#post-527527</link>
				<description></description>
				<pubDate>Tue, 07 Jul 2009 03:40:31 +0000</pubDate>
				<wikidot:authorName>visuallinux</wikidot:authorName>				<wikidot:authorUserId>329579</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Dear,</p> <p>If i have my system on IP 10.0.0.1 and my wikipbx use this IP as external_sip_ip and external_rtp_ip; but when i try to create another account admin with: external_sip IP 10.0.0.1 and sip port 5060, i receive a exception UNIQUE KEY:</p> <p>«wikipbxweb_account_sip_port_key» UNIQUE, btree (sip_port, ext_sip_ip)</p> <p>So for each admin's account i use differents sip port 5061, 5062….., it's fine?</p> <p>Other questions; how i can use field "extension" on the dial plan (extensions of wikipbx) when i create a new Gateway?; is similar to context name of Asterisk?.</p> <p>Fernando</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-160448#post-500213</guid>
				<title>Re: Endpoints offline and CDR</title>
				<link>http://wikipbx.subwiki.com/forum/t-160448/endpoints-offline-and-cdr#post-500213</link>
				<description></description>
				<pubDate>Fri, 05 Jun 2009 01:18:05 +0000</pubDate>
				<wikidot:authorName>visuallinux</wikidot:authorName>				<wikidot:authorUserId>329579</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Ok thank you for your examples i understand now.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-160448#post-500206</guid>
				<title>Re: Endpoints offline and CDR</title>
				<link>http://wikipbx.subwiki.com/forum/t-160448/endpoints-offline-and-cdr#post-500206</link>
				<description></description>
				<pubDate>Fri, 05 Jun 2009 01:04:41 +0000</pubDate>
				<wikidot:authorName>visuallinux</wikidot:authorName>				<wikidot:authorUserId>329579</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Ok, very well i am understanding now.</p> <p>It's perfect; i can does billing for inbound calls and outbound calls.</p> <p>Thank you.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-160448#post-500046</guid>
				<title>Re: Endpoints offline and CDR</title>
				<link>http://wikipbx.subwiki.com/forum/t-160448/endpoints-offline-and-cdr#post-500046</link>
				<description></description>
				<pubDate>Thu, 04 Jun 2009 21:28:56 +0000</pubDate>
				<wikidot:authorName>tleyden</wikidot:authorName>				<wikidot:authorUserId>230690</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Suppose you have two accounts (aka "Tenants"): Foo and Bar. Each needs an admin user, like <tt>joe@foo.com</tt> and <tt>joe@bar.com</tt>. To manage gateways for the Foo account, you should login as <tt>joe@foo.com</tt>.</p> <p>I would prepend the account name to the gateway name. For example if you have a gateway called Acme, and it is used by both accounts using different gateway credentials, you could create the Foo_Acme gateway owned by the Foo account and the Bar_Acme gateway owned by the Bar account. Should prevent things from getting mixed up between accounts.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-160448#post-500035</guid>
				<title>Re: Endpoints offline and CDR</title>
				<link>http://wikipbx.subwiki.com/forum/t-160448/endpoints-offline-and-cdr#post-500035</link>
				<description></description>
				<pubDate>Thu, 04 Jun 2009 21:20:40 +0000</pubDate>
				<wikidot:authorName>tleyden</wikidot:authorName>				<wikidot:authorUserId>230690</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Ok, well I think it makes sense to get two CDR's here. In theory you might want to bill different rates for the incoming DID minutes and the outgoing minutes out of the gateway.</p> <p>In your case do you only care about billing the outgoing minutes and want to ignore the incoming call leg?</p> <p>Looking at the CDR XML, I don't see an obvious way to differentiate between incoming and outgoing calls. Maybe somewhere on the freeswitch wiki or someone on the freeswitch list would know ..</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-160448#post-500034</guid>
				<title>Re: Endpoints offline and CDR</title>
				<link>http://wikipbx.subwiki.com/forum/t-160448/endpoints-offline-and-cdr#post-500034</link>
				<description></description>
				<pubDate>Thu, 04 Jun 2009 21:19:42 +0000</pubDate>
				<wikidot:authorName>visuallinux</wikidot:authorName>				<wikidot:authorUserId>329579</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hello.</p> <p>Yes effectively the account_id is a foreing key to the table wikipbx_account.</p> <p>So i will need identify another gateways or endpoints with other account_id, i will do another Web User with Is Admin True, and later i will login and create new gateway or endpoints with this new account admin?.</p> <p>Fernando Villarroel.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-160448#post-500011</guid>
				<title>Re: Endpoints offline and CDR</title>
				<link>http://wikipbx.subwiki.com/forum/t-160448/endpoints-offline-and-cdr#post-500011</link>
				<description></description>
				<pubDate>Thu, 04 Jun 2009 20:55:37 +0000</pubDate>
				<wikidot:authorName>visuallinux</wikidot:authorName>				<wikidot:authorUserId>329579</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hello,</p> <p>This is for inbound calls; i create a extensions for gateway Dialout as the follow:</p> <p>Extension # ^(569)([5-9])(\d{7})$</p> <p>Action XML:</p> <p>&lt;action application="set" data="proxy_media=true"/&gt;<br /> &lt;action application="bridge" data="sofia/gateway/ubb/$1$2$3"/&gt;</p> <p>I have enable proxy media for that i am using mod_g729 Passthru.</p> <p>Fernando Villarroel N.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-160448#post-499909</guid>
				<title>Re: Endpoints offline and CDR</title>
				<link>http://wikipbx.subwiki.com/forum/t-160448/endpoints-offline-and-cdr#post-499909</link>
				<description></description>
				<pubDate>Thu, 04 Jun 2009 19:37:02 +0000</pubDate>
				<wikidot:authorName>tleyden</wikidot:authorName>				<wikidot:authorUserId>230690</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p>2) For every call i have 2 tuples in the database</p> </blockquote> <p>Is this for inbound calls, outbound calls, or both?</p> <p>Can you post some examples of the dialplan you are using?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-160448#post-499908</guid>
				<title>Re: Endpoints offline and CDR</title>
				<link>http://wikipbx.subwiki.com/forum/t-160448/endpoints-offline-and-cdr#post-499908</link>
				<description></description>
				<pubDate>Thu, 04 Jun 2009 19:35:55 +0000</pubDate>
				<wikidot:authorName>tleyden</wikidot:authorName>				<wikidot:authorUserId>230690</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p>Also, I think that the registration status gets set only when wikipbx is running. So if you've started freeswitch, then the endpoint registered, then you've started wikipbx, it won't see the registration event.</p> </blockquote> <p>Yes, that is true, and it should be fixed. I think when a user loads that page to show all endpoints, it should probably just issue an event socket request to get all the registrations for a given profile/account and show the status based on the returned results. Any thoughts?</p> <blockquote> <p>I suppose that we receive a CDR for each call leg here.</p> </blockquote> <p>I just checked on my PBX .. I didn't see that happening. At least not for inbound calls from a gateway. I will test outbound calls later..</p> <blockquote> <p>Every gateway is assigned to a certain account in its settings page. Account's ID used for call is saved in the wikipbxweb_completedcall table in the account_id field. So you shouldn't have much difficulties with billing.</p> </blockquote> <p>Right. A gateway is associated with a single account. However, ANY account can add some dialplan XML to use any gateway defined in the system, even for other accounts, which I feel is a bug in WikiPBX since it should be more compartmentalized.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-160448#post-499361</guid>
				<title>Re: Endpoints offline and CDR</title>
				<link>http://wikipbx.subwiki.com/forum/t-160448/endpoints-offline-and-cdr#post-499361</link>
				<description></description>
				<pubDate>Thu, 04 Jun 2009 08:39:06 +0000</pubDate>
				<wikidot:authorName>stas_shtin</wikidot:authorName>				<wikidot:authorUserId>230176</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>1. Looks like wikipbx missed registration events. I've found a bug in wikipbx registration handling that could cause this, so please update wikipbx and try againg.</p> <p>Also, I think that the registration status gets set only when wikipbx is running. So if you've started freeswitch, then the endpoint registered, then you've started wikipbx, it won't see the registration event.</p> <p>2. I suppose that we receive a CDR for each call leg here. If you aren't interested in both records, you could discard one of them in wikipbxweb.views.add_cdr function, so they won't get to the database at all. However, this may not work for both inbound and outbound calls, so test it if you'll use both directions.</p> <p>3. Every gateway is assigned to a certain account in its settings page. Account's ID used for call is saved in the wikipbxweb_completedcall table in the account_id field. So you shouldn't have much difficulties with billing.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-160448#post-499164</guid>
				<title>Endpoints offline and CDR</title>
				<link>http://wikipbx.subwiki.com/forum/t-160448/endpoints-offline-and-cdr#post-499164</link>
				<description></description>
				<pubDate>Thu, 04 Jun 2009 03:06:16 +0000</pubDate>
				<wikidot:authorName>visuallinux</wikidot:authorName>				<wikidot:authorUserId>329579</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Dear All,</p> <p>I am testing wikipbx with PostgreSQL and all works very well, but i have a questions:</p> <p>1) I have few endpoints and gateways working fine, but in the Wikipbx the endpoints are offline; when yes are registered on FreeSwitch and i can receive and originate calls from it's, for example endpoint 101 are offline in Wikipbx but in FS_CLI is registered:</p> <p>Call-ID: 3c267fbd83d6-u21iz1ru31i8@snom300-000413259778<br /> User: <span class="wiki-email">442.891.111.002|101#442.891.111.002|101</span><br /> Contact: "101" &lt;sip:<span class="wiki-email">601.531.68.002|101#601.531.68.002|101</span>:59337;line=phtjisef;fs_nat=yes&gt;<br /> Agent: snom300/6.2.3<br /> Status: Registered(AUTO-NAT)(unknown) EXP(2009-06-03&nbsp;22:44:31)<br /> Host: fs<br /> IP: 200.86.135.106<br /> Port: 59337<br /> Auth-User: 101<br /> Auth-Realm: 200.111.198.244</p> <p>Any idea?</p> <p>2) For every call i have 2 tuples in the database; for example:</p> <p>id | account_id | uuid | caller_id_number | destination_number | chan_name | answered_time | hangup_time<br /> <span style="text-decoration: line-through;">-</span>+<span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">+</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>-+<span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-+</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-+</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>-+<span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">—+</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>—<br /> 418 | 1 | 42020642-5052-11de-afcf-67f40bb67bf9 | 42452904 | 56968482060 | 56968482060 | 2009-06-03&nbsp;11:22:01-04 | 2009-06-03&nbsp;11:22:22-04</p> <p>id | account_id | uuid | caller_id_number | destination_number | chan_name | answered_time | hangup_time<br /> <span style="text-decoration: line-through;">-</span>+<span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">+</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>-+<span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-+</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-+</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-+</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">+</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>—<br /> 419 | 1 | 41dfbd08-5052-11de-afcf-67f40bb67bf9 | 42452904 | 56968482060 | <span class="wiki-email">521.71.802.091|40925424#521.71.802.091|40925424</span> | 2009-06-03&nbsp;11:22:01-04 | 2009-06-03&nbsp;11:22:22-04</p> <p>The differece between both tuples is in column chan_name where in the tuple id = 418 is 56968482060 and the tuple id = 419 is <span class="wiki-email">521.71.802.091|40925424#521.71.802.091|40925424</span></p> <p>My questions is: for i will could sending CDR to my customers, i only get from the table wikipbx_completecall all calls where destination_number = chan_name so i not duplicate the CDR?.</p> <p>3) And how i can assign every gateway with some account; example gateway 1 and gateway 2 to accountcode X; for i could do billing for every accountcode?</p> <p>I hope you understand me and excuse my english.</p> <p>Beste regards.</p> <p>Fernando Villarroel.</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>