VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
thowinter at googlemai... Guest
|
Posted: Tue Jun 24, 2008 4:22 am Post subject: [asterisk-users] Queue with different music for each caller |
|
|
Hi,
is there an possibilty to have for each caller different music when queued.
I see there only the global musiconhold = default in queues.conf, what menas
same musci for all waiting callers.
Any other idea to realize this?
best regards
Thomas |
|
Back to top |
|
|
martin.schrott at tsy.at Guest
|
Posted: Tue Jun 24, 2008 8:22 am Post subject: [asterisk-users] Queue with different music for each caller |
|
|
Hello Thomas
you can use different music for each caller if you like.
in extensions.conf you can set the music class.
exten => s,n,Set(CHANNEL(musicclass)=yourmusicforthiscaller)
and if you like different music for each caller you can set a variable with
the musicname and then set the musicclass:
exten => s,n,Set(mymusicclass=${CALLERID(num)}musicclass)
exten => s,n,Set(CHANNEL(musicclass)=${mymusicclass})
so you set the music for each calling number
when the caller has the number 1234 the music will be 1234musicclass
when the caller has the cid 456 the music will be 456musicclass
you see, everything is possible.
hope to help,
Martin
----- Original Message -----
From: "Thomas Winter" <thowinter at googlemail.com>
To: <asterisk-users at lists.digium.com>
Sent: Tuesday, June 24, 2008 11:22 AM
Subject: [asterisk-users] Queue with different music for each caller
Hi,
is there an possibilty to have for each caller different music when queued.
I see there only the global musiconhold = default in queues.conf, what menas
same musci for all waiting callers.
Any other idea to realize this?
best regards
Thomas
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
thowinter at googlemai... Guest
|
Posted: Tue Jun 24, 2008 10:50 am Post subject: [asterisk-users] Queue with different music for each caller |
|
|
On Tuesday 24 June 2008 15:22, Martin Schrott - thinking:systems wrote:
Quote: | Hello Thomas
you can use different music for each caller if you like.
in extensions.conf you can set the music class.
exten => s,n,Set(CHANNEL(musicclass)=yourmusicforthiscaller)
|
Hi Martin,
thanks for your suggestion, I forgot to notice that Iam still using 1.2.X
Jun 24 17:45:31 ERROR[17784]: pbx.c:1437 ast_func_write: Function CHANNEL not
registered
So, this didnt work for me.
best regards
Thomas |
|
Back to top |
|
|
martin.schrott at tsy.at Guest
|
Posted: Tue Jun 24, 2008 11:55 pm Post subject: [asterisk-users] Queue with different music for each caller |
|
|
Hello Thomas,
no problem.
In asterisk <1.6 use
SetMusicOnHold(musiconholdname)
then it will work in older Asterisk versions!
br,
Martin
----- Original Message -----
From: "Thomas Winter" <thowinter at googlemail.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Tuesday, June 24, 2008 5:50 PM
Subject: Re: [asterisk-users] Queue with different music for each caller
On Tuesday 24 June 2008 15:22, Martin Schrott - thinking:systems wrote:
Quote: | Hello Thomas
you can use different music for each caller if you like.
in extensions.conf you can set the music class.
exten => s,n,Set(CHANNEL(musicclass)=yourmusicforthiscaller)
|
Hi Martin,
thanks for your suggestion, I forgot to notice that Iam still using 1.2.X
Jun 24 17:45:31 ERROR[17784]: pbx.c:1437 ast_func_write: Function CHANNEL
not
registered
So, this didnt work for me.
best regards
Thomas
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
thowinter at googlemai... Guest
|
Posted: Thu Jun 26, 2008 4:36 am Post subject: [asterisk-users] Queue with different music for each caller |
|
|
Hi,
I tried this before I ask here on the list.
In 1.2 SetMusicOnHold did not work. The Moh class defined in queues.conf is
overwriting any SetMusicOnHold values of the caller channel.
You can see this if you use periodic announce, the Moh call is printed in the
CLI and is allways the class defines in queues.conf.
I have now the choice to switch to 1.4 or implement for every music an single
queue.
best regards
Thomas
On Wednesday 25 June 2008 06:55, Martin Schrott - thinking:systems wrote:
Quote: | Hello Thomas,
no problem.
In asterisk <1.6 use
SetMusicOnHold(musiconholdname)
then it will work in older Asterisk versions!
br,
Martin
----- Original Message -----
From: "Thomas Winter" <thowinter at googlemail.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Tuesday, June 24, 2008 5:50 PM
Subject: Re: [asterisk-users] Queue with different music for each caller
On Tuesday 24 June 2008 15:22, Martin Schrott - thinking:systems wrote:
Quote: | Hello Thomas
you can use different music for each caller if you like.
in extensions.conf you can set the music class.
exten => s,n,Set(CHANNEL(musicclass)=yourmusicforthiscaller)
|
Hi Martin,
thanks for your suggestion, I forgot to notice that Iam still using 1.2.X
Jun 24 17:45:31 ERROR[17784]: pbx.c:1437 ast_func_write: Function CHANNEL
not
registered
So, this didnt work for me.
best regards
Thomas
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
|
Back to top |
|
|
|
|
|
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
|