<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[a2billing autoconfiguration]]></title><description><![CDATA[<p dir="auto">If you want to have a2billing users in the fop2 display, you can add the following snippet at the end of the <a href="http://autoconfig-button-freepbx.sh" rel="nofollow ugc">autoconfig-button-freepbx.sh</a> script or use this as your own autoconfig script.. you will need to modify the mysql credentials if they are different:</p>
<pre><code>mysql -EB -u a2billinguser -pa2billing mya2billing -e "select concat('SIP/',name) as channel, if(firstname&lt;&gt;'',concat(firstname,' ',lastname),name) as label, \"extension\" as type, \"a2billing\" as \`group\`  from cc_sip_buddies left join cc_card on name=cc_card.username" | sed '/\*\*/d' | sed 's/: /=/g' | sed '/.*=$/d' | while read LINEA
do
echo $LINEA | sed '/NULL/d' | sed 's/^channel=\(.*\)/\n[\1]/g' | sed 's/^extrachannel/channel/g'
done
</code></pre>
]]></description><link>https://forum.fop2.com/topic/678/a2billing-autoconfiguration</link><generator>RSS for Node</generator><lastBuildDate>Wed, 28 Oct 2026 00:43:29 GMT</lastBuildDate><atom:link href="https://forum.fop2.com/topic/678.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 11 Mar 2011 21:55:49 GMT</pubDate><ttl>60</ttl></channel></rss>