Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Confbridge options


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
lists at jttech.se
Guest





PostPosted: Fri Apr 04, 2014 3:01 pm    Post subject: [asterisk-users] Confbridge options Reply with quote

Hi,

I'm doing an evaluation of Confbridge (migrating from Meetme). Looking
at: https://wiki.asterisk.org/wiki/display/AST/ConfBridge+10
Under the heading "User Profile Configuration Options" the option
announce_only_user is present. The sample config looks like this:
--
;announce_only_user=yes ;Sets if the only user announcement should be
played when a channel enters a empty conference. On by default.
--
But - disabling it (announce_only_user=no) doesn't take effect. And
looking at the source asterisk-11.8.1/apps/app_confbridge.c I can't even
find this option. Any clues?


Also - setting quiet=yes still plays join/leave sound. My current
work-around is:
sound_join=silence/1
sound_leave=silence/1
But this seems a bit ineffective... In Meetme the quiet-flag also
disabled join/leave sounds. Is this by design or an oversight?


--
Johan Wilfer

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
lists at jttech.se
Guest





PostPosted: Fri Apr 04, 2014 4:34 pm    Post subject: [asterisk-users] Confbridge options Reply with quote

2014-04-04 22:01, Johan Wilfer skrev:
Quote:
Hi,

I'm doing an evaluation of Confbridge (migrating from Meetme). Looking
at: https://wiki.asterisk.org/wiki/display/AST/ConfBridge+10
Under the heading "User Profile Configuration Options" the option
announce_only_user is present. The sample config looks like this:
--
;announce_only_user=yes ;Sets if the only user announcement should be
played when a channel enters a empty conference. On by default.
--
But - disabling it (announce_only_user=no) doesn't take effect. And
looking at the source asterisk-11.8.1/apps/app_confbridge.c I can't even
find this option. Any clues?

Looked at the wrong file for config parsing, sorry for the noise. But
the option is not respected thought.

Quote:


Also - setting quiet=yes still plays join/leave sound. My current
work-around is:
sound_join=silence/1
sound_leave=silence/1
But this seems a bit ineffective... In Meetme the quiet-flag also
disabled join/leave sounds. Is this by design or an oversight?



Reading the source I get the impression that the intended behavior is:

1. Read "sound_only_person" if not flags "quiet" or "announce_only_user"
is set. (apps/app_confbridge.c:1099)
2. No join sounds if flag "quiet" is set. (apps/app_confbridge.c:1714)


But this is not what happens with 11.8.1, this is the bridge/user:

[conference_bridge]
type=bridge

[conference_user]
type=user
admin=no
marked=no
startmuted=no
announce_only_user=no
quiet=yes

With this I get join sounds played, and only_user is announced as well..


--
Johan Wilfer

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
lists at jttech.se
Guest





PostPosted: Fri Apr 04, 2014 5:17 pm    Post subject: [asterisk-users] Confbridge options Reply with quote

2014-04-04 23:33, Johan Wilfer skrev:
Quote:
Quote:
Also - setting quiet=yes still plays join/leave sound. My current
work-around is:
sound_join=silence/1
sound_leave=silence/1
But this seems a bit ineffective... In Meetme the quiet-flag also
disabled join/leave sounds. Is this by design or an oversight?

Reading the source I get the impression that the intended behavior is:

1. Read "sound_only_person" if not flags "quiet" or "announce_only_user"
is set. (apps/app_confbridge.c:1099)
2. No join sounds if flag "quiet" is set. (apps/app_confbridge.c:1714)


But this is not what happens with 11.8.1, this is the bridge/user:

[conference_bridge]
type=bridge

[conference_user]
type=user
admin=no
marked=no
startmuted=no
announce_only_user=no
quiet=yes

With this I get join sounds played, and only_user is announced as well..



I should have gone to sleep I think, my brain doesn't work. I think I
get it now however.

Short version:
With dynamic user profiles, CONFBRIDGE(user,template)=user_profile) must
be used. The profile supplied in ConfBridge is ignored and I missed
that. The end.


Long version:

This works:
ConfBridge(1,conference_bridge,conference_user);

dev02*CLI> confbridge list 1
Channel User Profile Bridge Profile Menu
CallerID Muted
============================== ================ ================
================ ================ =====
SIP/jttech_sip2-00000004 conference_user conference_bridge
No


But this does not:
Set(CONFBRIDGE(user,startmuted)=no);
ConfBridge(1,conference_bridge,conference_user);

dev02*CLI> confbridge list 1
Channel User Profile Bridge Profile Menu
CallerID Muted
============================== ================ ================
================ ================ =====
SIP/jttech_sip2-00000005 conference_bridge
No

I expected Confbridge to use the supplied user_profile as a template and
overlay the specific settings I set with CONFBRIDGE(user) on top of that
profile. But instead it seems like the default profile is used.



This however works (I should have read the docs more carefully):

Set(CONFBRIDGE(user,template)=conference_user);
Set(CONFBRIDGE(user,startmuted)=no);
ConfBridge(1,conference_bridge);

dev02*CLI> confbridge list 1
Channel User Profile Bridge Profile Menu
CallerID Muted
============================== ================ ================
================ ================ =====
SIP/jttech_sip2-00000007 conference_user conference_bridge
Yes

With dynamic user profiles, CONFBRIDGE(user,template)=user_profile) must
be used. The profile supplied in ConfBridge is ignored if one is present.

I didn't expect that...


--
Johan Wilfer

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services