Re: [asterisk-users] Queue with different music for each caller

2008-06-26 Thread Thomas Winter
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:
 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 [EMAIL PROTECTED]
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 asterisk-users@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:
  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

___
-- 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


[asterisk-users] Queue with different music for each caller

2008-06-24 Thread Thomas Winter
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


Re: [asterisk-users] Queue with different music for each caller

2008-06-24 Thread Martin Schrott - thinking:systems
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 [EMAIL PROTECTED]
To: asterisk-users@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


___
-- 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


Re: [asterisk-users] Queue with different music for each caller

2008-06-24 Thread Thomas Winter
On Tuesday 24 June 2008 15:22, Martin Schrott - thinking:systems wrote:
 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


Re: [asterisk-users] Queue with different music for each caller

2008-06-24 Thread Martin Schrott - thinking:systems
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 [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@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:
 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