Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Sat Apr 27, 2024 7:30 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Language Support
PostPosted: Fri Apr 20, 2007 9:04 am 
Offline

Joined: Tue Nov 21, 2006 2:45 pm
Posts: 25
Hi All,

Apologies if this has already been addressed I did trawl the forum but found no answers.

I am looking to add a couple of languages to A2B when I say languages I am refering to the prompts that the customer hears when they call in, now I have already created a directory in var/lib/asterisk/sounds/ and placed in the prompts and I can force the customer to this prompt by using postgres however I am trying to achieve it so that from the admin interface i can set the language (currently English Spanish French) the next step would be to add this control to the customer interface.

Has anyone already achieved this or any ideas?

Regards to all.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 20, 2007 9:05 pm 
Offline

Joined: Thu Oct 19, 2006 9:56 am
Posts: 300
Location: Athens, Greece
Actually the v1.2.3 has these 3 langs hard-coded.

I have a lengthy patch that changes the way languages are treated, but it needs more testing and integration to the next release..


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 23, 2007 11:32 am 
Offline

Joined: Thu Feb 01, 2007 6:13 pm
Posts: 67
xrg wrote:
Actually the v1.2.3 has these 3 langs hard-coded.

I have a lengthy patch that changes the way languages are treated, but it needs more testing and integration to the next release..


can you tell me were all the code is for the language? I looked at some .conf files but did'nt see anything about voice prompts.


Top
 Profile  
 
 Post subject: quick change
PostPosted: Mon Apr 23, 2007 12:13 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Check the first 25 lines of a2badmin/Public/fg_var_card.inc

You need to add a line to both $language_list and $language_list_r to add a new language.

You may also need to make the same changes to a2badmin/signup/form_data/FG_var_index.inc if you use the online signup.

Hope that helps.


Top
 Profile  
 
 Post subject: Success!!
PostPosted: Mon Apr 23, 2007 3:26 pm 
Offline

Joined: Tue Nov 21, 2006 2:45 pm
Posts: 25
Thanks that worked a treat.

Regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 
Hosted Voice Broadcast


All times are UTC


Who is online

Users browsing this forum: No registered users and 33 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group