[Asterisk-Users] Stumped on vMail problem, any ideas?

Howard Leadmon howard at leadmon.net
Wed Jul 27 15:41:55 MST 2005


 Oh trust me, I have tried, so far you're the only one that has even bothered
to respond, which I appreciate.    I'll eventually figure it out, or get
pissed off enough at AAH I rip it out and build everything up from scratch
that I learn every in and out along the way.

 I just figured it was probably something simple I was overlooking, and
someone on the list would slap me and say hey you did xx, or forgot to do y,
but guess no such luck...


---
Howard Leadmon - howard at leadmon.net
http://www.leadmon.net 


> -----Original Message-----
> From: Andrew C. Brown [mailto:andy_lists at bananabread.net]
> Sent: Tuesday, July 26, 2005 2:46 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Cc: howard at leadmon.net
> Subject: Re: [Asterisk-Users] Stumped on vMail problem, any ideas?
> 
> Oh right. That is a good point. Really your issue is more with
> Asterisk at Home (and/or AMP) config than with Asterisk. You aren't really
> intended to mess with the .conf files if you are using either of those
> setups, I believe. If you do want to mess with them anyway, then you are
> more in the Asterisk at Home debug business. Either way, I think your best
> bet is to take it to the respective lists in a decending order. First
> A at H, second AMP, third Asterisk-Users, fourth Asterisk-devel.
> 
> See http://voip-info.org/tiki-index.php?page=Asterisk+at++Home
> 
> Good luck.
> 
> Howard Leadmon wrote:
> > Oops sorry about that, as I said very new to this stuff, and guessing most
> of
> > this is stuff put in place by AAH.   Here is what I show in my
> extensions.conf
> > for the dial macro, let me know if I missed anything else:
> >
> > ; Rings one or more extensions.  Handles things 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($[ "${MACRO_CONTEXT}" = "macro-rg-group" ]?4:2)  ; if
> this
> > is from rg-group, don't strip prefix
> > exten => s,2,GotoIf($[${CALLERIDNAME:0:${LEN(${RGPREFIX})}} !=
> > ${RGPREFIX}]?4:3)  ; check for ring-group prefix
> > exten => s,3,SetCIDName(${CALLERIDNAME:${LEN(${RGPREFIX})}}) ; strip off
> > prefix
> > exten => s,4,AGI,dialparties.agi
> > exten => s,5,NoOp(Returned from dialparties with no extensions to call)
> > exten => s,6,SetVar(DIALSTATUS=BUSY)
> > exten => s,10,Dial(${ds})                               ; dialparties will
> set
> > the priority to 10 if $ds is not null
> >
> >
> >
> > ---
> > Howard Leadmon - howard at leadmon.net
> > http://www.leadmon.net
> >
> >
> >
> >>-----Original Message-----
> >>From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> >>bounces at lists.digium.com] On Behalf Of Andrew C. Brown
> >>Sent: Tuesday, July 26, 2005 8:34 AM
> >>To: Asterisk Users Mailing List - Non-Commercial Discussion
> >>Subject: Re: [Asterisk-Users] Stumped on vMail problem, any ideas?
> >>
> >>Howard Leadmon wrote:
> >>
> >>>    Hello all,
> >>>
> >>> I think I have most of my AAH 1.3 setup running (Asterisk 1.0.9), but
> >>
> >>somehow
> >>
> >>>something is not quite right with my vMail setup.  I would have sworn
> this
> >>
> >>was
> >>
> >>>all working, but maybe I was just dreaming.
> >>>
> >>> Anyway here is what is happening, say I am on extension 200 and I want
> to
> >>>call to extension 201.   If extension 201 is no connected, then it rolls
> >>
> >>right
> >>
> >>>into vMail with the message the user is not available.   If I am talking
> >>
> >>on
> >>
> >>>201 then vMail responds with the user is currently on the phone, which is
> >>>great.   Where this goes wrong is if 201 is on hook, and ringing, in this
> >>
> >>case
> >>
> >>>it will just keep on ringing 201 forever, and never transfer into the
> >>
> >>vMail
> >>
> >>>system.   Needless to say this is NOT what I am looking to have happen, I
> >>>would like it to ring for say 30 seconds, and then transfer over to the
> >>>mailbox if the person doesn't answer.
> >>>
> >>>Looking at my AAH extensions_additional.conf I see:
> >>>
> >>>[ext-local]
> >>>include => ext-local-custom
> >>>exten => 200,1,Macro(exten-vm,200 at default,200)
> >>>exten => ${VM_PREFIX}200,1,Macro(vm,200)
> >>>exten => 201,1,Macro(exten-vm,201 at default,201)
> >>>exten => ${VM_PREFIX}201,1,Macro(vm,201)
> >>>
> >>>
> >>>Looking under my AAH extensions.conf I see the following marcro's:
> >>>
> >>>; Ring an extension, if the extension is busy or there is no answer send
> >>
> >>it
> >>
> >>>; to voicemail
> >>>; ARGS: $VMBOX, $EXT
> >>>[macro-exten-vm]
> >>>exten => s,1,Setvar(FROMCONTEXT=exten-vm)
> >>>exten => s,2,Macro(record-enable,${ARG2},IN)
> >>>exten => s,3,Macro(dial,${RINGTIMER},${DIAL_OPTIONS},${ARG2})
> >>>exten => s,4,GotoIf($[${CHANNEL:0:5} = Local]?s-${DIALSTATUS},1) ; if the
> >>>channel is Local, then do not go to voicemail.  This is primarily to
> avoid
> >>
> >>vm
> >>
> >>>for call-forwarded extensions in ring groups
> >>>exten => s,5,GotoIf($[${ARG1} = novm]?s-${DIALSTATUS},1) ; no voicemail
> in
> >>
> >>use
> >>
> >>>for this extension
> >>>exten => s,6,NoOp(Sending to Voicemail box ${ARG1})
> >>>exten => s,7,Macro(vm,${ARG1},${DIALSTATUS})
> >>>exten => s-BUSY,1,NoOp(Extension is reporting BUSY and has no Voicemail)
> >>>exten => s-BUSY,2,Busy()
> >>>exten => s-BUSY,3,Wait(60)
> >>>exten => s-BUSY,4,NoOp()
> >>>exten => _s-.,1,Congestion()
> >>>
> >>>[macro-vm]
> >>>exten => s,1,Goto(s-${ARG2},1)
> >>>exten => s-BUSY,1,Voicemail(b${ARG1})   ; Voicemail Busy message
> >>>exten => s-BUSY,2,Hangup()
> >>>exten => _s-.,1,Voicemail(u${ARG1})     ; Voicemail Unavailable message
> >>>exten => _s-.,2,Hangup()
> >>>exten => o,1,Background(one-moment-please)      ; 0 during vm message
> will
> >>>hangup
> >>>exten => o,2,GotoIf($["foo${FROM_DID}" =
> >>>"foo"]?from-pstn,s,1:from-pstn,${FROM_DID},1)
> >>>exten => a,1,VoiceMailMain(${ARG1})
> >>>exten => a,2,Hangup
> >>>
> >>>
> >>>Also looking I see the following globals defined that appear to apply:
> >>>
> >>>RINGTIMER = 20
> >>>DIAL_OPTIONS = tr
> >>>
> >>>
> >>>
> >>>I am quite new at this, but heck looks like it should work, but sure I am
> >>>probably missing something.   If someone has any ideas, or can lend a
> hand
> >>>getting this straight, I would sure appreciate it.  If I am not providing
> >>
> >>some
> >>
> >>>info that is needed to help, please let me know.  As heck I think I about
> >>
> >>have
> >>
> >>>this sucker running good enough to try and use it for real..  :)
> >>
> >>
> >>The dial command will ring forever unless its timeout parameter is set.
> >>You have your dial behavior defined in a macro where RINGTIMER is
> >>-probably- supposed to be the timeout, but since you did not include the
> >>macro definition for dial in your snippet, I can't analyze any further.
> >>But that is the part that is first suspect.
> >>_________________________________





More information about the asterisk-users mailing list