[asterisk-users] voicemail ,MWI problem
tanzeel sarfaraz
tanzeelcs at hotmail.com
Thu Sep 14 02:30:17 MST 2006
Hi users;
i am new to use asterisk so facing some problems.
i have installed asterisk 1.2.4 and all the
requirements.
i have to implement Message waiting indicator (MWI) by
using METHOD 3 of the link:
http://www.voip-info.org/wiki/view/Asterisk+at+large
i am doing like that:
<XLITE>-----------<OPENSER>--------------<ASTERISK>
192.168.1.234 192.168.1.130 192.168.1.131
i have configured voicemail box like that:
1:voicemail.conf:
[mb_tutorial]
777=>1212,ivan,ivan at localhost
2:sip.conf:
[ivan]
type=friend
username=ivan
secret=1212
insecure=yes
context=tutorial
mailbox=777 at mb_tutorial
host=dynamic
3:extension.conf:
[tutorial]
exten => 2222,1,Dial(SIP/ivan, 30)
exten => 2222,2,voiceMail(777 at mb_tutorial)
exten => 2222,3,PlayBack(vm-goodbye)
exten => 2222,4,wait(2)
exten => 2222,5,HangUp()
ivan is the user which is registered on my openser.
when i dialling 2222 from my xlite it gives me
ERROR:404 NOT FOUND.
ASTERISK screen shows like that:
NOTIFY sip:777 at 192.168.1.130 SIP/2.0
v: SIP/2.0/UDP 192.168.1.131:5060;branch=z9hG4bK13dc61bb;rport
f: "asterisk" <sip:asterisk at localhost>;tag=as04f09bc4
t: <sip:777 at 192.168.1.130>
m: <sip:asterisk at 192.168.1.131>
i: 4a9471541c2bc1331824afb7560fbe5a at localhost
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX
Max-Forwards: 70
o: message-summary
c: application/simple-message-summary
l: 89
Messages-Waiting: no
Message-Account: sip:asterisk at localhost
Voice-Message: 0/0 (0/0)
---
Scheduling destruction of call
'4a9471541c2bc1331824afb7560fbe5a at localhost' in 15000 ms
<-- SIP read from 192.168.1.130:5060:
SIP/2.0 404 Not Found
v: SIP/2.0/UDP 192.168.1.131:5060;branch=z9hG4bK13dc61bb;rport=5060
f: "asterisk" <sip:asterisk at localhost>;tag=as04f09bc4
t: <sip:777 at 192.168.1.130>;tag=9ce625323ea050e3441580834adb7aaf.7343
i: 4a9471541c2bc1331824afb7560fbe5a at localhost
CSeq: 102 NOTIFY
Server: OpenSer (1.0.0 (i386/linux))
Content-Length: 0
Warning: 392 192.168.1.130:5060 "Noisy feedback tells: pid=4512
req_src_ip=192.168.1.131 req_src_port=5060 in_uri=sip:777 at 192.168.1.130
out_uri=sip:777 at 192.168.1.130 via_cnt==1"
--- (9 headers 0 lines)---
12 headers, 3 lines
Reliably Transmitting (no NAT) to 192.168.1.234:5060:
NOTIFY sip:ivan at 192.168.1.234:5060 SIP/2.0
v: SIP/2.0/UDP 192.168.1.131:5060;branch=z9hG4bK040fcabc;rport
f: "asterisk" <sip:asterisk at 192.168.1.131>;tag=as0f3db050
t: <sip:ivan at 192.168.1.234:5060>
m: <sip:asterisk at 192.168.1.131>
i: 62f1adf767b7cb3f4ef457c8422bf933 at 192.168.1.131
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX
Max-Forwards: 70
o: message-summary
c: application/simple-message-summary
l: 93
Messages-Waiting: no
Message-Account: sip:asterisk at 192.168.1.131
Voice-Message: 0/0 (0/0)
---
Scheduling destruction of call
'62f1adf767b7cb3f4ef457c8422bf933 at 192.168.1.131'
in 15000 ms
<-- SIP read from 192.168.1.234:5060:
SIP/2.0 200 Ok
Via: SIP/2.0/UDP 192.168.1.131:5060;branch=z9hG4bK040fcabc;rport
From: "asterisk" <sip:asterisk at 192.168.1.131>;tag=as0f3db050
To: <sip:ivan at 192.168.1.234:5060>;tag=2615819391
Contact: <sip:ivan at 192.168.1.234:5060>
Call-ID: 62f1adf767b7cb3f4ef457c8422bf933 at 192.168.1.131
CSeq: 102 NOTIFY
Server: X-Lite release 1103m
Content-Length: 0
--- (9 headers 0 lines)---
COMMAND OUTPUT:
>show voicemail users
Context Mbox User Zone NewMsg
other 1234 Company2 User 0
mb_tutorial 777 ivan 0
PLZ HELP ME OUT.
thanks and regards;
Tanzeel
More information about the asterisk-users
mailing list