search for: setmusiconhold

Displaying 20 results from an estimated 207 matches for "setmusiconhold".

2005 Aug 05
1
TE405P Dropping Calls
...tra [te405p-tobp250] exten => _2XX,1,Dial(Zap/g4/${EXTEN},60,r) exten => _4XX,1,Dial(Zap/g4/${EXTEN},60,r) exten => _7XX,1,Dial(Zap/g4/${EXTEN},60,r) exten => _1XXX,1,Dial(Zap/g4/${EXTEN},60,r) exten => _73816592XX,1,Dial(Zap/g4/${EXTEN:7},60,r) [te405p-intelstra] exten => s,1,SetMusicOnHold(record) exten => s,2,Dial(SIP/bt-pavilion,45,t) exten => s,4,VoiceMail,u500 exten => s,5,Hangup exten => 38166400,1,SetMusicOnHold(random) exten => 38166400,2,Dial(Zap/g4/9,600,t) exten => 38166400,3,VoiceMail,u500 exten => 38166400,4,Hangup ;Main Number 3282 2922 comes in on...
2005 Jun 15
0
Asterisk slow transferring calls
...0 EMERGENCY_TRUNK=Zap/10 [dialstring] exten => i,1,Playback(invalid) exten => i,2,Hangup exten => t,1,Hangup [atp-out] exten => _9X.,1,Dial(IAX2/username:password@overhere.overthere/${EXTEN:1}) exten => _9X.,2,Congestion exten => _9X.,3,Hangup [atp-in] exten => 30182849,1,SetMusicOnHold(record) exten => 30182849,2,Dial(SIP/bt-rlm,45,t) exten => 30182849,3,Voicemail,u550 exten => 30182849,103,Voicemail,b550 [te405p-in] exten => _2XX,1,Dial(Zap/g4/${EXTEN},60,r) exten => _2XX,2,Hangup exten => _73816592XX,1,Dial(Zap/g4/${EXTEN:-3},60,r) exten => _73816592XX,2...
2003 Jul 01
2
Unable to get SetMusicOnHold working...
Hello, I'm trying to do something really easy : transfer a PSTN call to a H323 client. This works great. Now I'm trying to use the SetMusicOnHold function. I din't find any doc about it, I've just seen some mails in the list archive, but it still doesn't work. That's my extension.conf : [incoming] exten => s,1,SetMusicOnHold,default exten => s,2,Dial(OH323/192.168.1.215) really short... my musiconhold.conf : [classe...
2006 Feb 22
3
Streaming Music On Hold
...rk. This is what extensions.conf has: [default] mode=quietmp3 directory=/var/lib/asterisk/mohmp3 [stream2] mode=custom directory=/var/lib/asterisk/mohmp3-empty application=http://pubint.ic.llnwd.net/stream/pubint_wnpr and this is how I am testing it: exten => 1234,1,Answer exten => 1234,2,SetMusiconHold(stream2) exten => 1234,3,WaitmusiconHold(60) exten => 1234,4,Hangup and this is the console output I get when I dial 1234: Asterisk Ready. *CLI> -- Executing Answer("SIP/3250072-ed28", "") in new stack -- Executing SetMusicOnHold("SIP/3250072-ed28",...
2005 Feb 19
16
Snom phone hint exten question
...eceives a call I want it to just tell the snom190 on ext 690 so the light shows up. (Soon as I got it going here I have a live system I will be setting it up on). Thank you to anyone in advance for the help. This is my extensions.conf ----------------------------------- [pstn] exten => s,1,SetMusicOnHold(random) exten => s,2,Dial(SIP/snom-james&SIP/bt-karen,45,t) exten => s,3,Hangup ;exten => s,10,VoiceMail(u100) ;Whatever box you want. [internal] exten => i,1,Playback(invalid) exten => i,2,Hangup exten => t,1,Hangup exten => 098,1,WaitMusicOnHold(5) exten => 099,1...
2004 Apr 28
0
SetMusicOnHold
Hello All, Is the application SetMusicOnHold always followed by the Dial application? I'm studdying the info on Google and Wikki about SetMusicOnHold, and I'm not sure I understand what I found. Thanks, Anon
2006 Mar 02
1
setmusiconhold doesn't work between 2 SIP phones
...phone number 1 and 2 are defined in sip.conf, and both have musiconhold=<class> set to the same outbound class that I want. This works fine for outbound calls (out to the pstn) Also, in extensions.conf for each extension that is setup to dial each of those sip phones, the first priority is SetMusicOnHold(<class>) So this works when a call comes in from the PSTN to either SIP phone, and the SIP phone puts the call on hold - The PSTN side hears the correct music What doesn't work is when SIP 1 calls SIP 2. When Sip 1 calls Sip 2, If SIP 2 puts the call on hold, SIP 1 hears the correct mu...
2017 Jul 20
2
MoH via AGI broken after upgrade.
...set, the system still plays the "default" music. All of my call handling is done with an AGI script. When a call is made, the AGI script sets the MoH class before dialing. The log indicates that the correct class is being set: [Jul 18 15:14:57] -- AGI Script Executing Application: (SetMusicOnHold) Options: (jazz) However, when the call is placed on hold, the "default" MoH class is used: [Jul 18 15:15:50] -- Started music on hold, class 'default', on channel 'SIP/trunk-0000bfa9' My AGI script is writen in Perl. Here is the line that does the MuH class settin...
2006 Apr 13
0
Any way to prevent this from happening
...-- Now forwarding Local/117@sip-0eb7,2 to 'Local/114@sip' (thanks to SIP/117-df17) -- Executing Macro("Local/114@sip-35cf,2", "stdexten") in new stack -- Executing Set("Local/114@sip-35cf,2", "LANGUAGE()=en") in new stack -- Executing SetMusicOnHold("Local/114@sip-35cf,2", "aviareps") in new stack -- Executing Dial("Local/114@sip-35cf,2", "SIP/114|20|t") in new stack -- Called 114 -- Got SIP response 302 "Moved Temporarily" back from 10.139.2.14 -- Now forwarding Local/114@sip-3...
2007 Jun 11
5
change moh during a call?
Hello. Is it possible to change the defined moh sound file within an extension? I have: exten => 18,1,Answer exten => 18,n,Wait(3) exten => 18,n,SetMusicOnHold(durchwahl) exten => 18,n,Dial(SIP/118,15,m) exten => 18,n,Hangup Now i have the situation someone calls and my phone is ringing while moh (durchwahl) is playing. When i pickup the call and press the hold button during the call moh (durchwahl) is playing as moh. Thats not what i want. Can...
2006 Feb 23
1
Streaming Music On Hold - Reality Check
...isk/mohmp3 > > > > [stream2] > > mode=custom > > directory=/var/lib/asterisk/mohmp3-empty > > application=http://pubint.ic.llnwd.net/stream/pubint_wnpr > > > > and this is how I am testing it: > > exten => 1234,1,Answer > > exten => 1234,2,SetMusiconHold(stream2) > > exten => 1234,3,WaitmusiconHold(60) > > exten => 1234,4,Hangup > > > > and this is the console output I get when I dial 1234: > > > > Asterisk Ready. > > *CLI> -- Executing Answer("SIP/3250072-ed28", "") in new...
2004 Nov 29
2
Variable substitution - How can I do Dial(${DIALSTRING}) where ${DIALSTRING} is 'SIP/201, 15, tT'?
...d I'm sure this is one of those easy to solve things - just that I can't see the wood for the trees. I'm trying to do: ----------- [some-context] Exten => s,1,Macro(dodial,'SIP/201,15,tT',123456,MOHClass) [macro-dodial] Exten => s,1,SetCallerID(${ARG2}) Exten => s,2,SetMusicOnHold(${ARG3}) Exten => s,3,Dial(${ARG1}) ----------- (there's a lot more to it than that, but the above should give you an idea of what I'm trying to achieve) A command starting at some-context,s,1 returns the following error: -- Executing Macro("SIP/200-b9d9", "dodial|...
2004 May 09
2
Help!! Music On Hold
I've been trying to play the default music on hold file, but no luck yet. here is my configuration: extensions.conf [incoming] exten => s,1,Dial,Zap/2|10 exten => s,2,Voicemail,u34 exten => s,102,Voicemail,b34 exten => 34,1,SetMusicOnHold,default Musiconhold.conf [classes] default => quietmp3:/var/lib/asterisk/mohmp3 ;loud => mp3:/var/lib/asterisk/mohmp3 ;random => quietmp3:/var/lib/asterisk/mohmp3,-z ;unbuffered => mp3nb:/var/lib/asterisk/mohmp3 ;quietunbuf => quietmp3nb:/var/lib/asterisk/mohmp3 zapata.conf music...
2006 Feb 19
2
Line Dropouts on E405P
...=> _9X.,1,Dial(IAX2/username:passwordremoved@gw3.austechpartnerships.com/${EXTEN:1}) exten => _9X.,2,Congestion exten => _9X.,3,Hangup [from-callpacket] exten => 17025541498,1,Answer exten => 17025541498,2,Dial(SIP/557) exten => 17025541498,3,Hangup [atp-in] exten => 30182849,1,SetMusicOnHold(record) exten => 30182849,2,Dial(SIP/551,45,t) exten => 30182849,3,Voicemail,u551 exten => 30182849,103,Voicemail,b551 exten => s,1,Dial(SIP/3332,45,t) [te405p-frombp250] exten => _321X.,1,Dial(IAX2/username:passwordremoved@gw3.austechpartnerships.com/${EXTEN:3}) include => to-si...
2004 Jun 16
5
Failed to authenticate on INVITE
Hi, I upgraded my two asterisk boxes today to the latest cvs (up from 5/3/04). These two boxes talk to eachother via sip, not iax. Since the upgrade, I get the error "Failed to authenticate on INVITE" trying to make calls to/from either box. Removing the secret from each box's sip config seems to work but is utterly braindead. Has anyone seen this? - Eric
2004 Jan 25
2
Example of TDM20B
...whenbridged=yes channel => 1 ; ; FXS Port 1 context=local signalling=fxs_ls usecallerid=yes echocancel=yes echocancelwhenbridged=yes ; ;FXS Port 2 context=local signalling=fxs_ls usecallerid=yes echocancel=yes echocancelwhenbridged=yes /etc/asterisk/extensions.conf [local] exten => 2203,1,SetMusicOnHold,loud exten => 2203,2,Dial(Zap/2,15,Ttr) exten => 2203,102,Voicemail(2203) exten => 2203,Hangup exten => 2204,1,SetMusicOnHold,loud exten => 2204,2,Dial(Zap/2,15,Ttr) exten => 2204,102,Voicemail(2203) exten => 2204,Hangup Should this be enough for me to get dial tone on my F...
2008 Mar 13
3
Newbie One-touch Recording: Does not work (more info)
...line calling in ============================================== -- Accepting call from '298741000' to '98553166' on channel 0/10, span 1 -- Executing [98553166 at default:1] Macro("Zap/10-1", "stdexten|5166|5166") in new stack -- Executing [s at macro-stdexten:1] SetMusicOnHold("Zap/10-1", "cpwr") in new stack -- Executing [s at macro-stdexten:2] Set("Zap/10-1", "DYNAMIC_FEATURES=automon") in new stack -- Executing [s at macro-stdexten:3] Dial("Zap/10-1", "SIP/5166|20|wW") in new stack -- Called 5166 -- SIP/5166-...
2008 Mar 13
5
Newbie One-touch Recording: Does not work
...itor or elsewhere. Any suggestions? Here is the console log: -- Accepting call from '298741000' to '98553166' on channel 0/10, span 1 -- Executing [98553166 at default:1] Macro("Zap/10-1", "stdexten|5166|5166") in new stack -- Executing [s at macro-stdexten:1] SetMusicOnHold("Zap/10-1", "cpwr") in new stack -- Executing [s at macro-stdexten:2] Set("Zap/10-1", "DYNAMIC_FEATURES=automon") in new stack -- Executing [s at macro-stdexten:3] Dial("Zap/10-1", "SIP/5166|20|wW") in new stack -- Called 5166 -- SIP/5166-...
2005 Mar 19
2
Goto and E1 line
...[incoming_call] exten => 090200000,1,Goto(callcenter,100,1) exten => 022956353,1,Goto(callcenter,100,1) exten => 022956388,1,Goto(callcenter,100,1) exten => 022956355,1,Goto(callcenter,101,1) exten => s,1,Goto(go_to_pbx,200,1) [callcenter] exten => 100,1,Answer exten => 100,2,SetMusicOnHold(default) exten => 100,3,DigitTimeout,5 exten => 100,4,SetVar(QUEUE_PRIO=5) exten => 100,5,Background(welcome) exten => 100,6,Queue(hotline) ;VoIP Phones exten => 101,1,Answer exten => 101,2,SetMusicOnHold(default) exten => 101,3,DigitTimeout,5 exten => 101,4,SetVar(QUEUE_P...
2003 Apr 01
1
Problems Calling Toll-free number
...swered , all goes ok - If I call a toll-free number with an IVR system, nothing happens: it continues to ring indefinitely like no-one answers the call. This is my part of extensions.conf related: ; Calling Mobile Numbers exten => _3NXXXXXXXX,1,SetCallerID,MyCallerID exten => _3NXXXXXXXX,2,SetMusicOnHold(default) exten => _3NXXXXXXXX,3,Dial,Modem/g1:${EXTEN}|30|rTt exten => _3NXXXXXXXX,104,Goto(main-menu,#,1) ; Calling Toll-Free number (80X numeration, in italy) exten => _80X.,1,SetCallerID,MyCallrID exten => _80X.,2,SetMusicOnHold(default) exten => _80X.,3,Dial,Modem/g1:${EXTEN}|30...