a2billing autoconfiguration
-
If you want to have a2billing users in the fop2 display, you can add the following snippet at the end of the autoconfig-button-freepbx.sh script or use this as your own autoconfig script.. you will need to modify the mysql credentials if they are different:
mysql -EB -u a2billinguser -pa2billing mya2billing -e "select concat('SIP/',name) as channel, if(firstname<>'',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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login