[Asterisk-Users] Merlin Magix Integration

C F shmaltz at gmail.com
Thu Mar 9 10:22:18 MST 2006


Do you have a timeout set somewhere? Try Set(TIMEOUT(digit)=3), and/or
Set(TIMEOUT(response)=5)

On 3/9/06, Darren Ellis <darren at ieworks.net> wrote:
> Hi List,
>
> Merlin Magix hardware v02
>
> I'm trying to get asterisk to act as a voicemail server for a lucent
> merlin magix PBX that we purchased used.  We have 4 FXO channels between
> the two PBXs on a Sangoma A200 card.  The 770 dialgroup is working
> properly, in that calls to 770 are answered by Asterisk.  The magix is
> sending mode codes in the format #XX#XXX#, where the 2nd block of digits
> is the calling extension.  I'm stripping off the unneeded pound signs
> and digits, and calling voicemailmain.  The problem I'm having is that
> the asterisk is starting to play vm-password and then interrupts
> immediately and errors with an incorrect password.  Then it works
> normally.  Below is the relevant asterisk config and the asterisk log.
> Zaptel is configured to start inbound calls in the inbound context.  The
> voicemail accounts and sip accounts are all in the default context.
>
> Asterisk log
>    -- Starting simple switch on 'Zap/3-1'
> Mar  9 10:26:35 NOTICE[4211]: chan_zap.c:6063 ss_thread: Got event 18
> (Ring Begin)...
>    -- Executing Answer("Zap/3-1", "") in new stack
>    -- Executing WaitExten("Zap/3-1", "1") in new stack
>  == CDR updated on Zap/3-1
>    -- Executing NoOp("Zap/3-1", "#00#219#") in new stack
>    -- Executing Set("Zap/3-1", "CVAR=219 at default") in new stack
>    -- Executing NoOp("Zap/3-1", "219 at default") in new stack
>    -- Executing VoiceMailMain("Zap/3-1", "219 at default") in new stack
>    -- Playing 'vm-password' (language 'en')
>    -- Incorrect password '' for user '219' (context = default)
>    -- Playing 'vm-incorrect' (language 'en')
>    -- Playing 'vm-password' (language 'en')
> ||| Caller hangs up here |||
> Mar  9 10:26:41 WARNING[4211]: app_voicemail.c:4998 vm_authenticate:
> Unable to read password
>    -- Hungup 'Zap/3-1'
>
> extensions.conf
> [inbound]
> exten => s,1,Answer()
> exten => s,2,WaitExten(1)       ; Allow time for mode code digits to
> come across
>
> ; The following extensions grab the mode code
> ; coming from the Avaya PBX and route the
> ; call appropriately via the Voicemail()
> ; and VoiceMailMain() apps.
> ;
> ; someone pressed vmail check
>        ; #00#243#
> exten => _#XX#XXX#,1,noop(${EXTEN})
> exten => _#XX#XXX#,2,Set(CVAR=${EXTEN:4:3}@default)
> exten => _#XX#XXX#,3,NoOp(${CVAR})
> exten => _#XX#XXX#,4,VoicemailMain(${CVAR})
> ;exten => _#XX#XXX#,2,VoicemailMain(${EXTEN:4:3}@default)
> exten => _#XX#XXX#,5,Hangup()
>
> ============================================================
> As can be seen, I've tried calling voicemailmain with the ${EXTEN:4:3}
> digit stripping as part of the command, and also I've tried moving the
> digit stripping to a variable.
> I'd very much appreciate any help you folks can offer.
>
> Thanks much.
>
> Darren Ellis
>
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list