Displaying 16 results from an estimated 16 matches for "mohclass".
2004 Nov 29
2
Variable substitution - How can I do Dial(${DIALSTRING}) where ${DIALSTRING} is 'SIP/201, 15, tT'?
I've been banging my head against a brick wall for the last hour and 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...
2014 Oct 27
1
Setting Music on Hold with the Manager Interface
...it's a channel variable.
Thanks in advance for any help on this.# Set the Music on Hold
fputs($socket2, "Action: Setvar\r\n");
fputs($socket2, "Channel: ".$channel."\r\n");
fputs($socket2, "Variable: musicclass\r\n");
fputs($socket2, "Value: ".$mohclass."\r\n");
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20141026/42d8a614/attachment.html>
2010 Jul 30
0
Aastra ignore call button hangs up call instead of going to voicemail
...ngs like call forwarding and
DND
; We don't call dial directly for anything internal anymore.
; ARGS: $TIMER, $OPTIONS, $EXT1, $EXT2, $EXT3, ...
; Use a Macro call such as the following:
; Macro(dial,$DIAL_TIMER,$DIAL_OPTIONS,$EXT1,$EXT2,$EXT3,...)
[macro-dial]
exten => s,1,GotoIf($["${MOHCLASS}" = ""]?dial)
exten => s,n,SetMusicOnHold(${MOHCLASS})
exten => s,n(dial),AGI(dialparties.agi)
exten => s,n,NoOp(Returned from dialparties with no extensions to call
and DIALSTATUS: ${DIALSTATUS})
exten => s,n+2(normdial),Dial(${ds}) ;
dialp...
2009 Jul 11
0
MACRO-INCOMING-CALL-TO-EXTENSION
...nconditional*
*exten => s,n,Set(EXTENSION=${CUT(ARG1,/,2)})*
*exten =>
s,n,GotoIf(${EXISTS(${DB(CFU/${EXTENSION})})}?${ARG5},${DB(CFU/${EXTENSION})},1)
;Get CFU key*
*exten => s,n,GotoIf(${EXISTS(${DB(DND/${EXTENSION})})}?s-BUSY,1) ;Get DND
key*
*exten => s,n,Dial(${ARG1},${ARG2},${MOHCLASS}tw)*
*exten => s,n,Goto(s-${DIALSTATUS},1)*
*exten => s-ANSWER,1,Hangup*
*exten =>
s-NOANSWER,1,GotoIf(${EXISTS(${DB(CFNR/${EXTENSION})})}?${ARG5},${DB(CFNR/${EXTENSION})},1)
;Get CFNR key*
*exten => s-NOANSWER,n,Macro(voicemailbox,${ARG3},${ARG4})*
*exten =>
s-BUSY,1,GotoIf(${E...
2007 Dec 04
0
Queue App - crash (1.4.15)
....0
#9 0xb7ea81ba in clone () from /lib/libc.so.6
(gdb) bt full
#0 0xb7e5a231 in strcasecmp () from /lib/libc.so.6
No symbol table info available.
#1 0xb7ce0a3f in local_ast_moh_start (chan=0x82496a8, mclass=0xb720f828
"default", interpclass=0x0)
at res_musiconhold.c:646
mohclass = (struct mohclass *) 0x88
#2 0x08083695 in ast_moh_start (chan=0x64, mclass=0x64 <Address 0x64 out of
bounds>,
interpclass=0x88 <Address 0x88 out of bounds>) at channel.c:4614
No locals.
#3 0xb741818b in queue_exec (chan=0x82496a8, data=0xb720f828) at
app_queue.c:3601
mak...
2012 Aug 26
1
One leg in a conference and adjusting stream volume of other leg
Hi all,
I'm looking for some serious help. :) I couldn't find a better
description for my problem... I think it is quite complex! Here's what I
would like to achieve:
A SIP caller dials into to my Asterisk 10. He will automatically listen
to a specific MP3 stream.
Other SIP callers dial also into my Asterisk. They all will
automatically listen to the same MP3 stream.
All
2010 Mar 26
1
SIP/2.0 403 Forbidden
...========================
> == Parsing '/etc/asterisk/asterisk.conf': Found
> Connected to Asterisk 1.4.21.2 currently running on gd-branch (pid = 3145)
> Verbosity is at least 3
> -- Executing [015921256331 at from-internal:1] Set("SIP/75002-b7705298",
> "MOHCLASS=none") in new stack
> -- Executing [015921256331 at from-internal:2]
> Macro("SIP/75002-b7705298", "user-callerid|SKIPTTL|") in new stack
> -- Executing [s at macro-user-callerid:1] Set("SIP/75002-b7705298",
> "AMPUSER=75002") in new...
2010 Mar 26
1
send a call from A to B use sip trunk prablem
...RIBE, NOTIFY
> Supported: replaces
> Contact: <sip:15921256331 at 192.168.0.151 <sip%3A15921256331 at 192.168.0.151>>
> Content-Length: 0
>
> <------------>
> -- Executing [15921256331 at from-internal:1]
> Set("SIP/192.168.0.151-088e7938", "MOHCLASS=none") in new stack
> -- Executing [15921256331 at from-internal:2]
> Macro("SIP/192.168.0.151-088e7938", "user-callerid|SKIPTTL|") in new stack
> -- Executing [s at macro-user-callerid:1]
> Set("SIP/192.168.0.151-088e7938", "AMPUSER=50005...
2013 Feb 16
1
Dial failed due to trunk reporting BUSY - giving up
Hi
this message give me when I calling a number than actually not busy:
"Dial failed due to trunk reporting BUSY - giving up"
max channel is unlimited and sometimes it dial number ok but most of the
time it gives me this error.
Please inform me how can solve this problem.
thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2015 Mar 20
3
outbound calls
...erid:31] Set("SIP/101-00000103",
"CDR(cnam)=101") in new stack
-- Executing [s at macro-user-callerid:32] Set("SIP/101-00000103",
"CHANNEL(language)=en") in new stack
-- Executing [0149xxxxxx at from-internal:2] Set("SIP/101-00000103",
"MOHCLASS=default") in new stack
-- Executing [0149xxxxxx at from-internal:3] Set("SIP/101-00000103",
"_NODEST=") in new stack
-- Executing [0149xxxxxx at from-internal:4] Gosub("SIP/101-00000103",
"sub-record-check,s,1(out,0149xxxxxx,)") in new stack...
2015 Mar 27
0
call between snom 300 and aastra 6731i
...erid:31] Set("SIP/300-00000192",
"CDR(cnam)=300") in new stack
-- Executing [s at macro-user-callerid:32] Set("SIP/300-00000192",
"CHANNEL(language)=en") in new stack
-- Executing [0176XXXXXX at from-internal:2] Set("SIP/300-00000192",
"MOHCLASS=default") in new stack
-- Executing [0176XXXXXX at from-internal:3] ExecIf("SIP/300-00000192",
"0?Set(TRUNKCIDOVERRIDE=0176XXXXXX)") in new stack
-- Executing [0176XXXXXX at from-internal:4] Set("SIP/300-00000192",
"_NODEST=") in new stack
--...
2015 Mar 20
0
outbound calls
...1-00000103",
> "CDR(cnam)=101") in new stack
> -- Executing [s at macro-user-callerid:32] Set("SIP/101-00000103",
> "CHANNEL(language)=en") in new stack
> -- Executing [0149xxxxxx at from-internal:2] Set("SIP/101-00000103",
> "MOHCLASS=default") in new stack
> -- Executing [0149xxxxxx at from-internal:3] Set("SIP/101-00000103",
> "_NODEST=") in new stack
> -- Executing [0149xxxxxx at from-internal:4] Gosub("SIP/101-00000103",
> "sub-record-check,s,1(out,0149xxxxxx,)"...
2015 Mar 27
2
call between snom 300 and aastra 6731i
You would need to give more information really.
Your sip.conf file listing the entries for the phones especially which
codecs are permitted.
A copy of the 'asterisk -rvvv' console output when you make the call.
On 27/03/15 17:05, Salaheddine Elharit wrote:
> please no body has som with aastra can help me in this issue
>
> 2015-03-26 11:02 GMT+00:00 Salaheddine Elharit
>
2015 Mar 20
0
outbound calls
...(cnam)=101") in new stack
>>> -- Executing [s at macro-user-callerid:32] Set("SIP/101-00000103",
>>> "CHANNEL(language)=en") in new stack
>>> -- Executing [0149xxxxxx at from-internal:2] Set("SIP/101-00000103",
>>> "MOHCLASS=default") in new stack
>>> -- Executing [0149xxxxxx at from-internal:3] Set("SIP/101-00000103",
>>> "_NODEST=") in new stack
>>> -- Executing [0149xxxxxx at from-internal:4] Gosub("SIP/101-00000103",
>>> "sub-record...
2015 Apr 08
1
Help debugging a possible SIP channel leak in 11.17.0, possible race condition
Have you tried Asterisk 13? The bridging mechanism has been completely
rewritten on Asterisk 12, so there's no longer channel masquerading and
zombie channels. Might be worth a try.
2015-04-07 20:33 GMT-03:00 Alex Villac??s Lasso <a_villacis at palosanto.com>:
> El 07/04/15 a las 17:38, Alex Villac??s Lasso escribi?:
>
> I am trying to collect enough information about an
2013 Sep 25
2
users can not hear the audio playback sometimes
...09-25 13:57:33] VERBOSE[9745] pbx.c: -- Executing [s at macro-user-callerid:26] Set("SIP/1002-00000292", "CHANNEL(language)=en") in new stack
[2013-09-25 13:57:33] VERBOSE[9745] pbx.c: -- Executing [09999999999 at from-internal:2] Set("SIP/1002-00000292", "MOHCLASS=default") in new stack
[2013-09-25 13:57:33] VERBOSE[9745] pbx.c: -- Executing [09999999999 at from-internal:3] Set("SIP/1002-00000292", "_NODEST=") in new stack
[2013-09-25 13:57:33] VERBOSE[9745] pbx.c: -- Executing [09999999999 at from-internal:4] Gosub("SIP...