Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Apr 16, 2024 5:13 pm
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Voicemail creation
PostPosted: Tue Oct 09, 2007 10:40 pm 
Offline

Joined: Mon Oct 01, 2007 10:44 pm
Posts: 230
Location: Bovey, Devon, UK
Unless I'm missing something here, it would be really usefully to add a voicemail entry when a new sip/iax account is added.

regards


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 09, 2007 10:51 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Back before I'd learned enough about PHP to accomplish this, I quickly hacked out a solution to generate voicemail.conf automatically:
Code:
psql -h localhost -d a2b -U a2b -A -P t -F '' -c "select useralias,'=>',username,',',firstname,' ',lastname,',',email,',,delete=yes|attach=yes|sayduration=yes|review=yes|operator=no' from cc_card where length(email)>0;" > /etc/asterisk/additional_a2billing_voicemail.conf
Postgres only unless you can concoct a similar group of flags for MySQL yourself.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
Auto Dialer Software


All times are UTC


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group