<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>asterCC asterisk呼叫中心和计费解决方案 &#187; 代理商</title>
	<atom:link href="http://cn.astercc.org/tag/%e4%bb%a3%e7%90%86%e5%95%86/feed" rel="self" type="application/rss+xml" />
	<link>http://cn.astercc.org</link>
	<description>asterCC, asterisk 呼叫中心,IP电话交换机和计费解决方案</description>
	<lastBuildDate>Wed, 01 Feb 2012 05:42:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>使用asterBilling对asterisk计费时的费率设置方法</title>
		<link>http://cn.astercc.org/2008/11/21/%e4%bd%bf%e7%94%a8asterbilling%e5%af%b9asterisk%e8%ae%a1%e8%b4%b9%e6%97%b6%e7%9a%84%e8%b4%b9%e7%8e%87%e8%ae%be%e7%bd%ae%e6%96%b9%e6%b3%95.html</link>
		<comments>http://cn.astercc.org/2008/11/21/%e4%bd%bf%e7%94%a8asterbilling%e5%af%b9asterisk%e8%ae%a1%e8%b4%b9%e6%97%b6%e7%9a%84%e8%b4%b9%e7%8e%87%e8%ae%be%e7%bd%ae%e6%96%b9%e6%b3%95.html#comments</comments>
		<pubDate>Fri, 21 Nov 2008 08:03:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[asterBilling]]></category>
		<category><![CDATA[使用技巧]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[asterisk 计费]]></category>
		<category><![CDATA[hosted callshop]]></category>
		<category><![CDATA[realtime billing]]></category>
		<category><![CDATA[代理商]]></category>
		<category><![CDATA[实时计费]]></category>
		<category><![CDATA[计费]]></category>
		<category><![CDATA[话吧]]></category>
		<category><![CDATA[费率]]></category>
		<category><![CDATA[连锁话吧]]></category>

		<guid isPermaLink="false">http://cn.astercc.org/?p=182</guid>
		<description><![CDATA[使用asterBilling对asterisk计费时的费率设置方法]]></description>
			<content:encoded><![CDATA[<p>在asterBilling中有三种费率表，代理商费率、话吧费率和用户费率。</p>
<ul>
<li>代理商费率：admin出售给代理商的费率。</li>
<li>话吧费率 (组费率)： 代理商出售给话吧(组)的费率。</li>
<li>用户费率：话吧出售给客户的费率。</li>
</ul>
<p>asterBilling 中的费率是可以被继承的，例如，有两条记录在 resellerrate表中：</p>
<p><a href="http://cn.astercc.org/wp-content/uploads/2008/11/asterbilling_resellerrate1_add.png"><img class="alignnone size-full wp-image-183" title="asterbilling_resellerrate1_add" src="http://cn.astercc.org/wp-content/uploads/2008/11/asterbilling_resellerrate1_add.png" alt="" width="500" height="421" /></a></p>
<p>dialpreifx = 0086<br />
number length = 0<br />
connect charge = 0.2<br />
init block = 60<br />
rate = 0.1<br />
billing block = 60<br />
<strong><span style="color: #ff0000;">resellerid = 0</span></strong></p>
<p>dialpreifx = 0049<br />
number length = 0<br />
connect charge = 0.4<br />
init block = 60<br />
rate = 0.4<br />
billing block = 60<br />
<span style="color: #ff0000;"><strong>resellerid = 0</strong></span></p>
<p>因为我们没有为这条费率指定一个代理商，所有这条费率会被应用于所有代理商。如果你不想让某一个代理商应用这条默认的费率，非常简单，只需要为这个代理商添加一条费率：</p>
<p>dialpreifx = 0086<br />
number length = 0<br />
connect charge = 0.2<br />
init block = 60<br />
rate = 0.2<br />
billing block = 60<br />
<span style="color: #ff0000;"><strong> resellerid = 1</strong></span></p>
<p>上面这条费率我们指定了代理商(resellerid=1)，当他的客户拨一个0086开头的号码时，将会应用这条新费率计费。</p>
<p>与代理商费率一样，话吧费率也可以被继承：</p>
<p>A:<br />
dialpreifx = 0086<br />
number length = 0<br />
connect charge = 0.2<br />
init block = 60<br />
rate = 0.2<br />
billing block = 60<br />
<strong><span style="color: #ff0000;">resellerid = 1<br />
</span></strong><strong><span style="color: #ff0000;">grouprid = 1</span></strong></p>
<p>B:</p>
<p><a href="http://cn.astercc.org/wp-content/uploads/2008/11/asterbilling_grouprate_add.png"><img class="alignnone size-full wp-image-184" title="asterbilling_grouprate_add" src="http://cn.astercc.org/wp-content/uploads/2008/11/asterbilling_grouprate_add.png" alt="" width="500" height="445" /></a><br />
dialpreifx = 0086<br />
number length = 0<br />
connect charge = 0.4<br />
init block = 60<br />
rate = 0.4<br />
billing block = 60<br />
<strong><span style="color: #ff0000;">resellerid = 1<br />
</span></strong><strong><span style="color: #ff0000;">grouprid = 0</span></strong></p>
<p>C:</p>
<p><a href="http://cn.astercc.org/wp-content/uploads/2008/11/asterbilling_grouprate1_add.png"><img class="alignnone size-full wp-image-186" title="asterbilling_grouprate1_add" src="http://cn.astercc.org/wp-content/uploads/2008/11/asterbilling_grouprate1_add.png" alt="" width="500" height="447" /></a></p>
<p>dialpreifx = 0086<br />
number length = 0<br />
connect charge = 0.4<br />
init block = 60<br />
rate = 0.4<br />
billing block = 60<br />
<span style="color: #ff0000;"><strong>resellerid = 0<br />
groupid = 0</strong></span></p>
<p>费率C将被应用于所有代理商和组，费率B将被应用于reseller1下的所有组，费率A 仅被应用于group1。</p>
<p>通过继承费率，admin可以更容易的控制费率，比如设置一套费率用于所在代理商，只调整需要不同费率的部分，代理商也可以所有组设置一套费率，对特殊费率进行小范围的调整。</p>
]]></content:encoded>
			<wfw:commentRss>http://cn.astercc.org/2008/11/21/%e4%bd%bf%e7%94%a8asterbilling%e5%af%b9asterisk%e8%ae%a1%e8%b4%b9%e6%97%b6%e7%9a%84%e8%b4%b9%e7%8e%87%e8%ae%be%e7%bd%ae%e6%96%b9%e6%b3%95.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>asterbilling + asterisk 的集中式连锁话吧方案</title>
		<link>http://cn.astercc.org/2008/11/21/asterbilling-asterisk-%e7%9a%84%e9%9b%86%e4%b8%ad%e5%bc%8f%e8%bf%9e%e9%94%81%e8%af%9d%e5%90%a7%e6%96%b9%e6%a1%88.html</link>
		<comments>http://cn.astercc.org/2008/11/21/asterbilling-asterisk-%e7%9a%84%e9%9b%86%e4%b8%ad%e5%bc%8f%e8%bf%9e%e9%94%81%e8%af%9d%e5%90%a7%e6%96%b9%e6%a1%88.html#comments</comments>
		<pubDate>Fri, 21 Nov 2008 05:43:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[asterBilling]]></category>
		<category><![CDATA[解决方案]]></category>
		<category><![CDATA[asterCC商业版]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[callshop]]></category>
		<category><![CDATA[Elastix]]></category>
		<category><![CDATA[freepbx]]></category>
		<category><![CDATA[代理商]]></category>
		<category><![CDATA[实时计费]]></category>
		<category><![CDATA[开源版]]></category>
		<category><![CDATA[话吧]]></category>
		<category><![CDATA[集中式话吧]]></category>

		<guid isPermaLink="false">http://cn.astercc.org/?p=179</guid>
		<description><![CDATA[asterbilling + asterisk 的集中式连锁话吧方案]]></description>
			<content:encoded><![CDATA[<p>asterBilling 是对asterisk进行实时计费的软件，通过asterBilling，你可以很容易的基于asterisk建立集中管理分布运营的连连锁话。</p>
<p>asterBilling 集中式话吧方案的特性：</p>
<ul>
<li>代理商，话吧，客户 三级计费</li>
<li>全部功能基于web页面</li>
<li>高性能</li>
<li>适用于所有基于asterisk的系统</li>
</ul>
<p>在这里，我们简单介绍一下如何就asterisk和asterbilling建立一个集中式话吧。</p>
<p>1. 安装asterisk</p>
<p>2. 在asterisk中添加中继和拨号计划</p>
<p>编辑 /etc/asterisk/sip.conf ，在这里添加中继信息：</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/asterisk_trunk_setting.png"><img class="alignnone size-full wp-image-341" title="asterisk_trunk_setting" src="http://astercc.org/wp-content/uploads/2008/11/asterisk_trunk_setting.png" alt="" width="344" height="156" /></a></p>
<p>设置拨号计划，编辑 /etc/asterisk/extensions.conf 添加一个context</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/asterisk_extensions_setting.png"><img class="alignnone size-full wp-image-343" title="asterisk_extensions_setting" src="http://astercc.org/wp-content/uploads/2008/11/asterisk_extensions_setting.png" alt="" width="395" height="92" /></a></p>
<p>3. 安装asterBilling</p>
<p>4. 设置 asterbilling.conf.php</p>
<p>你需要设置asterbilling 配置文件适用你的服务器设置，编辑asterbilling目录中的asterbilling.conf.php，找到[sipbuddy]部分，修改&#8217;context＝from-booth&#8217;，此时由asterbilling生成的sip 分机会使用&#8217;from-booth&#8217;这条路由拨出。</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/asterbilling_conf_set_1.png"><img class="alignnone size-full wp-image-345" title="asterbilling_conf_set_1" src="http://astercc.org/wp-content/uploads/2008/11/asterbilling_conf_set_1.png" alt="" width="250" height="188" /></a></p>
<p>默认情况下，asterbilling 将生成的所有分机配置信息存入文件 “/etc/asterisk/sip_astercc”，你可以在配置文件中通过参数&#8217;sipfile&#8217;更改目标文件，如果你不希望用asterbilling生成sip 分机，则将其设置为空。</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/asterbilling_conf_set_2.png"><img class="alignnone size-full wp-image-346" title="asterbilling_conf_set_2" src="http://astercc.org/wp-content/uploads/2008/11/asterbilling_conf_set_2.png" alt="" width="663" height="72" /></a></p>
<p>另外要注意的是，如果你使用了asterbilling 生成sip分机，你需要将存储分机信息的文件包含在sip.conf中。</p>
<p>编辑 /etc/asterisk/sip.conf 添加：</p>
<p><em><strong>#include sip_astercc.conf</strong></em></p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/asterisk_include_setting.png"><img class="alignnone size-full wp-image-347" title="asterisk_include_setting" src="http://astercc.org/wp-content/uploads/2008/11/asterisk_include_setting.png" alt="" width="477" height="54" /></a></p>
<p>5. 设置代理商和话吧</p>
<p>6. 设置通话费率</p>
<p>7. 查看报告</p>
]]></content:encoded>
			<wfw:commentRss>http://cn.astercc.org/2008/11/21/asterbilling-asterisk-%e7%9a%84%e9%9b%86%e4%b8%ad%e5%bc%8f%e8%bf%9e%e9%94%81%e8%af%9d%e5%90%a7%e6%96%b9%e6%a1%88.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
