We are running our * server as a virtual PBX for 6 companies. I am having all of the Allison prompts plus our own custom IVR prompts being re-recorded for each company, in a different voice (marketing thing) with a different personality (perky, corporate, earthy) . I'm curious if someone could point out a dirty trick to get the voice to play right, for internal and external callers, depending upon what number they dialed into, or what organization the user belongs to, without massive dialplan facelift. I'm using the default AMP from-internal context for inside, and extensions_custom.conf for remote IAX clients. I have partitioned extension numbers i.e. exten 1XXX belongs to company 1 exten 2XXX belongs to company 2, etc. Any hints would help, tia
You could set a dialplan vairable based on the incoming number and then use that variable as part of the path name for all prompts...then just put each set of prompts in its own subdirectory. ~Adam On 04/10/05, Colin Anderson <ColinA@landmarkmasterbuilder.com> wrote:> > We are running our * server as a virtual PBX for 6 companies. I am having > all of the Allison prompts plus our own custom IVR prompts being > re-recorded > for each company, in a different voice (marketing thing) with a different > personality (perky, corporate, earthy) . > > I'm curious if someone could point out a dirty trick to get the voice to > play right, for internal and external callers, depending upon what number > they dialed into, or what organization the user belongs to, without > massive > dialplan facelift. > > I'm using the default AMP from-internal context for inside, and > extensions_custom.conf for remote IAX clients. I have partitioned > extension > numbers i.e. exten 1XXX belongs to company 1 exten 2XXX belongs to company > 2, etc. > > Any hints would help, tia > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com <http://Easynews.com>-- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051004/4bfc69cc/attachment.htm
I'm wondering if a global variable that's set on a per-call basis might have undesirable effects in an AMP style dialplan? Or am I over thinking this? -----Original Message----- From: Adam Lewis [mailto:supercargo@gmail.com] Sent: Tuesday, October 04, 2005 12:39 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] PBX 'Personalities' ? You could set a dialplan vairable based on the incoming number and then use that variable as part of the path name for all prompts...then just put each set of prompts in its own subdirectory. ~Adam On 04/10/05, Colin Anderson < ColinA@landmarkmasterbuilder.com <mailto:ColinA@landmarkmasterbuilder.com> > wrote: We are running our * server as a virtual PBX for 6 companies. I am having all of the Allison prompts plus our own custom IVR prompts being re-recorded for each company, in a different voice (marketing thing) with a different personality (perky, corporate, earthy) . I'm curious if someone could point out a dirty trick to get the voice to play right, for internal and external callers, depending upon what number they dialed into, or what organization the user belongs to, without massive dialplan facelift. I'm using the default AMP from-internal context for inside, and extensions_custom.conf for remote IAX clients. I have partitioned extension numbers i.e. exten 1XXX belongs to company 1 exten 2XXX belongs to company 2, etc. Any hints would help, tia _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com <http://Easynews.com> -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com <mailto:Asterisk-Users@lists.digium.com> http://lists.digium.com/mailman/listinfo/asterisk-users <http://lists.digium.com/mailman/listinfo/asterisk-users> To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users <http://lists.digium.com/mailman/listinfo/asterisk-users> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051004/2fc8378b/attachment.htm
> I'm curious if someone could point out a dirty trick to get the voice to > play right, for internal and external callers, depending upon what number > they dialed into, or what organization the user belongs to, without massive > dialplan facelift.Asterisk goes and uses the value of the LANGUAGE variable to determine which sound files to play. I usually go and set that to something like "custom" and then Asterisk goes and plays the sounds under the "custom" directory instead of the default. But you can name it anything you want, so you can make multiple "languages". Nathan -- ------------------------------------- Nathan E. Pralle Give the Director a Serpent Deflector www.nathanpralle.com -------------------------------------
> I'm curious if someone could point out a dirty trick to get the voice to > play right, for internal and external callers, depending upon what number > they dialed into, or what organization the user belongs to, without massive > dialplan facelift.You could probably just use the language variable, like ... - create an incoming context for each company - in that context set language to "companya" or "companyb" - put all your prompts under sounds in "companya" or "companyb" directory You get the picture hth
Cool, brilliant, thanks! From http://www.voip-info.org/wiki/view/Asterisk+multi-language "A channel configuration file might set: language=female and you could override that with a call to SetLanguage(male). If you requested Asterisk to play the 'transfer' sound file, then Asterisk will look in /var/lib/asterisk/sounds/male/transfer.gsm directory, and if not found, revert to the default /var/lib/asterisk/sounds/transfer.gsm." so it won't bugger anyone else up since it is scoped in the context. Excellent. -----Original Message----- From: Time Bandit [mailto:timebandit001@gmail.com] Sent: Tuesday, October 04, 2005 12:51 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] PBX 'Personalities' ?> I'm curious if someone could point out a dirty trick to get the voice to > play right, for internal and external callers, depending upon what number > they dialed into, or what organization the user belongs to, withoutmassive> dialplan facelift.You could probably just use the language variable, like ... - create an incoming context for each company - in that context set language to "companya" or "companyb" - put all your prompts under sounds in "companya" or "companyb" directory You get the picture hth _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users