SCCP Extensions
-
-
Anyone have any luck getting SCCP extensions to appear? I have tried adding them manually to the buttons.cfg, and by modifying the autoconfig-buttons-freepbx.sh to parse the extensions from sccp.conf, but can't get them to appear.
-
-
-
-
This will work as long as your using the context from-internal
# SCCP EXTENSIONS mysql -ENB -u $DBUSER -p$DBPASS -h $DBHOST $DBNAME -e "select concat('SCCP/',extension) as channel,extension,name as label,concat(s1.id,'@default') as mailbox,'from-internal' as context,concat('*',s1.id,'@default') as extenvoicemail from users as u left join devices as s1 on u.extension=s1.id and s1.tech='custom' left join devices as s2 on u.extension=s2.id where s2.dial LIKE 'SCCP/%' order by extension" | sed '/\*\*/d' | sed 's/: /=/g' | while read LINEA do echo $LINEA | sed 's/channel=\(.*\)/\n[\1]\ntype=extension/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