[Asterisk-Users] PBX 'Personalities' ?

Colin Anderson ColinA at landmarkmasterbuilder.com
Tue Oct 4 12:37:41 MST 2005


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 at 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, 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
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users at 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



More information about the asterisk-users mailing list