akhilesh chand
2012-Jul-03 12:30 UTC
[asterisk-users] How to play different different hold music.
Dear All, I have two server 'A' and 'B' . In Server 'A', five different ivr (Sevices) is playing and call is *forwarding *into Server 'B'. Server 'B' basically use for agent login(Extension). I want to play different hold music(Server 'B') bases on the corresponding services which is running into server 'A'. A single agent takes the call from different different services but hold music is play astrisk own by default. Is there any way to play different hold music bases on services which run into server A. I have some changes into musiconhold.conf (server B) but problem is no solve. please help me. Regards Akhilesh -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120703/44269cd5/attachment.htm>
Hi, if possible for you put some header in SIP which mentions the music on hold flag on Server-A. The Dial the call to Server-B. On Server-B extract the value of that header and change the music on hold class based on the value. Regards, Sammy On Tue, Jul 3, 2012 at 5:30 PM, akhilesh chand <omakhileshchand at gmail.com>wrote:> Dear All, > > I have two server 'A' and 'B' . In Server 'A', five different > ivr (Sevices) is playing and call is *forwarding *into Server 'B'. Server > 'B' basically use for agent login(Extension). > I want to play different hold music(Server 'B') bases on the corresponding > services which is running into server 'A'. > > A single agent takes the call from different different services but hold > music is play astrisk own by default. > > Is there any way to play different hold music bases on services which > run into server A. > > I have some changes into musiconhold.conf (server B) but problem is no > solve. > > please help me. > > > Regards > Akhilesh > > -- > _____________________________________________________________________ > -- 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120703/09a0f8d5/attachment.htm>
akhilesh chand
2012-Jul-03 14:10 UTC
[asterisk-users] How to play different different hold music.
hi, Server A ----> extentsion.conf exten => N,n,Set(Service_name="Test") exten => N,n,Dial(IAX2/ server2:server2 at 192.168.14.112/${result},${Service_name}) but Server B doesn't identify service_name. extentsion.conf [outgoing] exten => _X.,1,Set(_CALLTIME=${STRFTIME(,Asia/Calcutta,%d-%b-%y-%H-%M-%S)}) exten => _X.,1,Set(CHANNEL(musicclass)=${Service_name}) exten => _X.,n,Set(CALLTIME=${STRFTIME(${EPOCH},Asia/Calcutta,%d-%b-%Y-%H-%M-%S)}) exten => _X.,n,Set(RECSUBDIR=${STRFTIME(${EPOCH},Asia/Calcutta,%d%b%Y)}) exten => _X.,n,Set(FILENAME=${EXTEN}_${CALLERID(num)}_${CALLTIME}.WAV) exten => _X.,n,Set(RECORDFILENAME=${RECSUBDIR}/${FILENAME}) exten => _X.,n,MixMonitor(${RECORDING_PATH}${RECORDFILENAME}) exten => _X.,n,Dial(SIP/${EXTEN},120) exten => _X.,n,Hangup() Regards Akhilesh On Tue, Jul 3, 2012 at 6:00 PM, akhilesh chand <omakhileshchand at gmail.com>wrote:> Dear All, > > I have two server 'A' and 'B' . In Server 'A', five different > ivr (Sevices) is playing and call is *forwarding *into Server 'B'. Server > 'B' basically use for agent login(Extension). > I want to play different hold music(Server 'B') bases on the corresponding > services which is running into server 'A'. > > A single agent takes the call from different different services but hold > music is play astrisk own by default. > > Is there any way to play different hold music bases on services which > run into server A. > > I have some changes into musiconhold.conf (server B) but problem is no > solve. > > please help me. > > > Regards > Akhilesh >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120703/f75fa7ca/attachment.htm>