D-Link DPH-125MS & MWI

Hello all,

Just installed the newest version of FreePBX about a week ago.

Received a D-Link DPH-125MS phone from eBay today and finally got it setup. Had some trouble with it receiving incoming calls (it would place them just fine - but right afterwards, it would show 0 IP Phones Online in the Admin site). I think I changed the session refresher to UAC from None in the D-Link config. Now it shows that 2 IP Phones are registered (should only say one) - so not sure why it says 2 are registered now.

Anyways, now I have noticed that the voicemail indicator light is not working.

I called the extension from a softphone on my computer and it rang the D-Link phone a few times then went to voicemail.

Left a quick voicemail on the line and it has now been at least 20 minutes and the indicator light still does not show up. I’ve performed a reboot on the D-Link phone and it still doesn’t show.

I looked in the Asterisk SIP Settings under the Tools menu and ensured that the MWI Poller is set to 10 seconds (default) and both Notify Ringing and Notify Hold are set to Yes.

Any ideas as to what could be causing this? Let me know what kind of troubleshooting information would help.

Wanted to write a quick note on here in case anyone else finds this thread and has problems with inbound calls not working on the D-Link DPH-125MS.

The issue is this - on the VOIP settings page down at the bottom, even if you are not using a Proxy (which I am not), you still need to choose “Enable” to the “Register With Proxy” setting.

After this, it seems to then register with Asterisk/FreePBX normally.

Anyone provide information on WMI integration with phones? Maybe it is just this phone that doesn’t work with it?

sip_additional.conf:

[3000]
deny=0.0.0.0/0.0.0.0
secret=
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
trustrpid=yes
sendrpid=no
type=friend
nat=no
port=5060
qualify=yes
qualifyfreq=60
transport=udp
encryption=no
callgroup=
pickupgroup=
dial=SIP/3000
mailbox=3000@device
permit=0.0.0.0/0.0.0.0
callerid=device <3000>
callcounter=yes
faxdetect=no
cc_monitor_policy=generic

sip show peer 3000:

  • Name : 3000
    Secret :
    MD5Secret :
    Remote Secret:
    Context : from-internal
    Subscr.Cont. :
    Language :
    AMA flags : Unknown
    Transfer mode: open
    CallingPres : Presentation Allowed, Not Screened
    Callgroup :
    Pickupgroup :
    MOH Suggest :
    Mailbox : 3000@device
    VM Extension : *97
    LastMsgsSent : 32767/65535
    Call limit : 2147483647
    Max forwards : 0
    Dynamic : Yes
    Callerid : “device” <3000>
    MaxCallBR : 384 kbps
    Expire : 2432
    Insecure : no
    Force rport : No
    ACL : Yes
    DirectMedACL : No
    T.38 support : No
    T.38 EC mode : Unknown
    T.38 MaxDtgrm: -1
    DirectMedia : No
    PromiscRedir : No
    User=Phone : No
    Video Support: No
    Text Support : No
    Ign SDP ver : No
    Trust RPID : Yes
    Send RPID : No
    Subscriptions: Yes
    Overlap dial : Yes
    DTMFmode : rfc2833
    Timer T1 : 500
    Timer B : 32000
    ToHost :
    Addr->IP : :5060
    Defaddr->IP : (null)
    Prim.Transp. : UDP
    Allowed.Trsp : UDP
    Def. Username: 3000
    SIP Options : (none)
    Codecs : 0x10e (gsm|ulaw|alaw|g729)
    Codec Order : (ulaw:20,alaw:20,gsm:20,g729:20)
    Auto-Framing : No
    100 on REG : No
    Status : OK (30 ms)
    Useragent : DPH 125MS 1.14.25
    Reg. Contact : sip:3000@:5060
    Qualify Freq : 60000 ms
    Sess-Timers : Accept
    Sess-Refresh : uas
    Sess-Expires : 1800 secs
    Min-Sess : 90 secs
    RTP Engine : asterisk
    Parkinglot :
    Use Reason : No
    Encryption : No

Looked in the Asterisk logs and I don’t see any kind of entry in the log where it shows it is notifying the phone that there was a new voicemail. Not sure if this event would show in the logs or not.

[2011-11-19 21:40:17] VERBOSE[3025] pbx.c: – Executing [vmx@macro-vm:11] NoOp(“SIP/3000-00000000”, “Checking if ext 3000 is enabled: “) in new stack
[2011-11-19 21:40:17] VERBOSE[3025] pbx.c: – Executing [vmx@macro-vm:12] GotoIf(“SIP/3000-00000000”, “1?s-NOANSWER,1”) in new stack
[2011-11-19 21:40:17] VERBOSE[3025] pbx.c: – Goto (macro-vm,s-NOANSWER,1)
[2011-11-19 21:40:17] VERBOSE[3025] pbx.c: – Executing [s-NOANSWER@macro-vm:1] Macro(“SIP/3000-00000000”, “get-vmcontext,3000”) in new stack
[2011-11-19 21:40:17] VERBOSE[3025] pbx.c: – Executing [s@macro-get-vmcontext:1] Set(“SIP/3000-00000000”, “VMCONTEXT=default”) in new stack
[2011-11-19 21:40:17] VERBOSE[3025] pbx.c: – Executing [s@macro-get-vmcontext:2] GotoIf(“SIP/3000-00000000”, “0?200:300”) in new stack
[2011-11-19 21:40:17] VERBOSE[3025] pbx.c: – Goto (macro-get-vmcontext,s,300)
[2011-11-19 21:40:17] VERBOSE[3025] pbx.c: – Executing [s@macro-get-vmcontext:300] NoOp(“SIP/3000-00000000”, “”) in new stack
[2011-11-19 21:40:17] VERBOSE[3025] pbx.c: – Executing [s-NOANSWER@macro-vm:2] VoiceMail(“SIP/3000-00000000”, “3000@default,su”””) in new stack
[2011-11-19 21:40:17] VERBOSE[3025] file.c: – <SIP/3000-00000000> Playing ‘/var/spool/asterisk/voicemail/default/3000/unavail.slin’ (language ‘en’)
[2011-11-19 21:40:26] VERBOSE[3025] file.c: – <SIP/3000-00000000> Playing ‘beep.ulaw’ (language ‘en’)
[2011-11-19 21:40:26] VERBOSE[3025] app_voicemail.c: – Recording the message
[2011-11-19 21:40:26] VERBOSE[3025] app.c: – x=0, open writing: /var/spool/asterisk/voicemail/default/3000/tmp/jH0bLE format: wav49, 0x9b10a08
[2011-11-19 21:40:26] VERBOSE[3025] app.c: – x=1, open writing: /var/spool/asterisk/voicemail/default/3000/tmp/jH0bLE format: wav, 0x9c44090
[2011-11-19 21:40:31] VERBOSE[3025] app.c: – User ended message by pressing #
[2011-11-19 21:40:31] VERBOSE[3025] file.c: – <SIP/3000-00000000> Playing ‘auth-thankyou.ulaw’ (language ‘en’)
[2011-11-19 21:40:31] VERBOSE[3025] file.c: – <SIP/3000-00000000> Playing ‘vm-review.ulaw’ (language ‘en’)
[2011-11-19 21:40:33] VERBOSE[3025] app_voicemail.c: – Saving message as is
[2011-11-19 21:40:33] VERBOSE[3025] file.c: – <SIP/3000-00000000> Playing ‘vm-msgsaved.ulaw’ (language ‘en’)
[2011-11-19 21:40:34] VERBOSE[3025] config.c: == Parsing ‘/var/spool/asterisk/voicemail/default/3000/INBOX/msg0000.txt’: [2011-11-19 21:40:34] VERBOSE[3025] config.c: == Found
[2011-11-19 21:40:34] VERBOSE[3025] config.c: == Parsing ‘/var/spool/asterisk/voicemail/default/3000/INBOX/msg0000.txt’: [2011-11-19 21:40:34] VERBOSE[3025] config.c: == Found
[2011-11-19 21:40:34] VERBOSE[3025] pbx.c: – Executing [s-NOANSWER@macro-vm:3] Goto(“SIP/3000-00000000”, “exit-SUCCESS,1”) in new stack
[2011-11-19 21:40:34] VERBOSE[3025] pbx.c: – Goto (macro-vm,exit-SUCCESS,1)
[2011-11-19 21:40:34] VERBOSE[3025] pbx.c: – Executing [exit-SUCCESS@macro-vm:1] GotoIf(“SIP/3000-00000000”, “0?exit-RETURN,1”) in new stack
[2011-11-19 21:40:34] VERBOSE[3025] pbx.c: – Executing [exit-SUCCESS@macro-vm:2] Playback(“SIP/3000-00000000”, “goodbye”) in new stack
[2011-11-19 21:40:35] VERBOSE[3025] file.c: – <SIP/3000-00000000> Playing ‘goodbye.ulaw’ (language ‘en’)
[2011-11-19 21:40:35] VERBOSE[3025] app_macro.c: == Spawn extension (macro-vm, exit-SUCCESS, 2) exited non-zero on ‘SIP/3000-00000000’ in macro ‘vm’
[2011-11-19 21:40:35] VERBOSE[3025] app_macro.c: == Spawn extension (macro-exten-vm, s, 22) exited non-zero on ‘SIP/3000-00000000’ in macro ‘exten-vm’
[2011-11-19 21:40:35] VERBOSE[3025] pbx.c: == Spawn extension (from-internal, 3000, 2) exited non-zero on ‘SIP/3000-00000000’
[2011-11-19 21:40:35] VERBOSE[3025] pbx.c: – Executing [h@from-internal:1] Hangup(“SIP/3000-00000000”, “”) in new stack
[2011-11-19 21:40:35] VERBOSE[3025] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/3000-00000000’

Been still searching for hours and trying different settings in both Asterisk and on the phone - and nothing has fixed the MWI problem.

I also need this info. I hope someone can shed some light on this