[asterisk-bugs] [JIRA] (ASTERISK-19983) ConfBridge does not expose a mechanism to change the language on the Bridging channel, defaulting to 'en'

Clod Patry (JIRA) noreply at issues.asterisk.org
Wed Sep 11 22:15:03 CDT 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-19983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=210177#comment-210177 ] 

Clod Patry commented on ASTERISK-19983:
---------------------------------------

Just as a proof of concept to get feedback.

[junky]
exten => s,1,Set(CHANNEL(language)=fr)
exten => s,n,Set(CONFBRIDGE(bridge,language)=fr)
exten => s,n,Confbridge(french_bridge)


results in:
    -- Executing [s at junky:1] Set("Console/dsp", "CHANNEL(language)=fr") in new stack
    -- Executing [s at junky:2] Set("Console/dsp", "CONFBRIDGE(bridge,language)=fr") in new stack
    -- Executing [s at junky:3] ConfBridge("Console/dsp", "french_bridge") in new stack
 << Console call has been answered >> 
    -- <Console/dsp> Playing 'conf-onlyperson.gsm' (language 'fr')
    -- <Console/dsp> Playing 'confbridge-join.gsm' (language 'fr')
[Sep 11 23:07:31] WARNING[26050][C-00000000]: app_confbridge.c:1344 alloc_playback_chan: Playback channel language is 'fr'
    -- <CBAnn/french_bridge-00000000;1> Playing 'confbridge-join.gsm' (language 'fr')
    -- Channel CBAnn/french_bridge-00000000;2 joined 'softmix' base-bridge <ba471847-8ee2-4d76-b863-79a4556a5633>
[Sep 11 23:07:31] WARNING[26032]: cdr.c:2587 handle_bridge_enter_message: No CDR for channel CBAnn/french_bridge-00000000;2
    -- Channel CBAnn/french_bridge-00000000;2 left 'softmix' base-bridge <ba471847-8ee2-4d76-b863-79a4556a5633>
[Sep 11 23:07:31] WARNING[26033]: cdr.c:2143 handle_bridge_leave_message: No CDR for channel CBAnn/french_bridge-00000000;2
    -- Channel Console/dsp joined 'softmix' base-bridge <ba471847-8ee2-4d76-b863-79a4556a5633>
    -- Channel Console/dsp left 'softmix' base-bridge <ba471847-8ee2-4d76-b863-79a4556a5633>
    -- Channel CBAnn/french_bridge-00000000;2 joined 'softmix' base-bridge <ba471847-8ee2-4d76-b863-79a4556a5633>
[Sep 11 23:07:38] WARNING[26007]: cdr.c:2587 handle_bridge_enter_message: No CDR for channel CBAnn/french_bridge-00000000;2
    -- <CBAnn/french_bridge-00000000;1> Playing 'confbridge-leave.gsm' (language 'fr')
    -- Channel CBAnn/french_bridge-00000000;2 left 'softmix' base-bridge <ba471847-8ee2-4d76-b863-79a4556a5633>
[Sep 11 23:07:38] WARNING[26007]: cdr.c:2143 handle_bridge_leave_message: No CDR for channel CBAnn/french_bridge-00000000;2


So like you can see the join and leave sounds uses what you passed to CONFBRIDGE(bridge,language)=foo.

I made totally separated from channel language, since an english channel could join this french conference. In this case french will be used for all users in the conf, but the english will hear some prompts i english as well.


                
> ConfBridge does not expose a mechanism to change the language on the Bridging channel, defaulting to 'en'
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-19983
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-19983
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_confbridge
>    Affects Versions: 10.5.0
>         Environment: Centos 5.8 32bit
>            Reporter: Jonathan White
>         Attachments: M19983.diff
>
>
> I am setting the language in the dialplan
> same =>n,Set(CHANNEL(language)=gb-m
> Confrbridge plays sounds in the selected language except join and leave messages played to conference participants or in the recording.
> Confbridge defaults to language "en".
> Example output from asterisk consle:
>     -- <SIP/2581-00000002> Playing 'auth-thankyou.alaw' (language 'gb-m')
>     -- <SIP/2581-00000002> Playing 'conf-placeintoconf.alaw' (language 'gb-m')
>     -- <Bridge/0xa138f88-input> Playing '/var/spool/asterisk/confbridge/confbridge-name-1002-1339456753.8.slin' (language 'en')
>   == Begin MixMonitor Recording ConfBridgeRecorder/conf-1002-uid-818536622
>     -- <Bridge/0xa138f88-input> Playing 'conf-hasjoin.gsm' (language 'en')
>     -- <SIP/2581-00000002> Playing 'confbridge-join.alaw' (language 'gb-m')
>     -- <Bridge/0xa138f88-input> Playing 'confbridge-join.gsm' (language 'en')
>     -- <Bridge/0xa138f88-input> Playing '/var/spool/asterisk/confbridge/confbridge-name-1002-1339456753.8.slin' (language 'en')
>     -- <Bridge/0xa138f88-input> Playing 'conf-hasleft.gsm' (language 'en')
>     -- <Bridge/0xa138f88-input> Playing 'confbridge-leave.gsm' (language 'en')
>   == MixMonitor close filestream (mixed)
> The following files do exist:
> /var/lib/asterisk/sounds/gb-m/confbridge-join.alaw
> /var/lib/asterisk/sounds/gb-m/confbridge-join.gsm
> /var/lib/asterisk/sounds/gb-m/confbridge-join.ulaw
> /var/lib/asterisk/sounds/gb-m/confbridge-join.slin
> /var/lib/asterisk/sounds/gb-m/confbridge-join.wav
> /var/lib/asterisk/sounds/gb-m/confbridge-leave.alaw
> /var/lib/asterisk/sounds/gb-m/confbridge-leave.gsm
> /var/lib/asterisk/sounds/gb-m/confbridge-leave.ulaw
> /var/lib/asterisk/sounds/gb-m/confbridge-leave.slin
> /var/lib/asterisk/sounds/gb-m/confbridge-leave.wav
> In the call I can press * and hear gb-m language prompts but not join and leave messages in the call or on the recording.
> Sometimes I get confbridge-join played to the joining caller at twice the normal volume but not with the recorded name just the confbridge-join prompt.
> This issue also shows with other languages which have the confbridge-join confbridge-leave present.
> occasionally courses an asterisk ended with exit status 127 during audio playback

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list