Benjamin Meyer
2008-Sep-11 07:59 UTC
[asterisk-users] Language for app_queue, chan_local, chan_agent or whatever?
Hello List, first please excuse my not so perfect english, since it is not my native language. I have problem concerning queues and connected services. The scenario: I define agents in an agent.conf file using chan_agent and these agents are made members of a queue in the queues.conf. An extension was defined top login the agents via AgentCallbackLogin(), as are extensions to enter the queue for callers and for the agents to be called back under. This all works as expected. The only thing I cannot make work as I want without patching the code (changeing DEFAULT_LANGUAGE) before compiling asterisk is the language used for the "reportholdtime" option in queues.conf, the report is always made in english. The asterisk version currently in use is 1.2.27 I broke down the problem a bit: It does not happen, when agents are made members of the queue via other applications such as AgentLogin(). This seems logical, as the member then for example is "SIP/1000" and not "Agent/1000", resulting in the direkt use of the SIP channel to call the agent, where the language can be defined. In our scenario the PBX calls the Agent via the local channel, if I understand correctly and the used channel is a new created one, which is just initialised using defaultlanguage and then used. So normaly from all the documentation I found on the net, the lanaguage is always something that is configured per channel and in the coresponding config file (like sip.conf for chan_sip), but there is no config for chan_local or a language parameter for chan_agent, as far as I understand. I hope I could describe my status acurate and clear enough to make my point clear. My questions would be: 1. Am I right with the above? 2. Is there a way to configure the language used for the report, that I missed? 3. Any other solutions or ideas? thanks in advance Benjamin ------------------------------------------ Schr?der Assistance und Consulting GmbH Lohdiecksweg 6 59457 Werl Fon 02922-8037-490 Fax 02922-8037-540 ------------------------------------------ Sitz der Gesellschaft: Werl HRB 6747 Amtsgericht Arnsberg Gesch?ftsf?hrer: Lutz Schr?der Steuernummer: 5343/5708/1703 ------------------------------------------