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,[EMAIL PROTECTED]

2:sip.conf:
[ivan]
type=friend
username=ivan
secret=1212
insecure=yes
context=tutorial
[EMAIL PROTECTED]
host=dynamic

3:extension.conf:
[tutorial]
exten => 2222,1,Dial(SIP/ivan, 30)
exten => 2222,2,voiceMail([EMAIL PROTECTED])
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:[EMAIL PROTECTED] SIP/2.0
v: SIP/2.0/UDP
192.168.1.131:5060;branch=z9hG4bK13dc61bb;rport
f: "asterisk" <sip:[EMAIL PROTECTED]>;tag=as04f09bc4
t: <sip:[EMAIL PROTECTED]>
m: <sip:[EMAIL PROTECTED]>
i: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]
Voice-Message: 0/0 (0/0)
                                                      
                         
---
Scheduling destruction of call
'[EMAIL PROTECTED]' 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:[EMAIL PROTECTED]>;tag=as04f09bc4
t:
<sip:[EMAIL PROTECTED]>;tag=9ce625323ea050e3441580834adb7aaf.7343
i: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]
out_uri=sip:[EMAIL PROTECTED] via_cnt==1"
                                                      
                         
                                                      
                         
--- (9 headers 0 lines)---
12 headers, 3 lines
Reliably Transmitting (no NAT) to 192.168.1.234:5060:
NOTIFY sip:[EMAIL PROTECTED]:5060 SIP/2.0
v: SIP/2.0/UDP
192.168.1.131:5060;branch=z9hG4bK040fcabc;rport
f: "asterisk"
<sip:[EMAIL PROTECTED]>;tag=as0f3db050
t: <sip:[EMAIL PROTECTED]:5060>
m: <sip:[EMAIL PROTECTED]>
i: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]
Voice-Message: 0/0 (0/0)
                                                      
                         
---
Scheduling destruction of call
'[EMAIL PROTECTED]'
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:[EMAIL PROTECTED]>;tag=as0f3db050
To: <sip:[EMAIL PROTECTED]:5060>;tag=2615819391
Contact: <sip:[EMAIL PROTECTED]:5060>
Call-ID:
[EMAIL PROTECTED]
CSeq: 102 NOTIFY
Server: X-Lite release 1103m
Content-Length: 0
                                                      
                         
                                                      
                         
--- (9 headers 0 lines)---


OUT PUT OF SOME COMMANDS ON Asterisk:

> sip show users

Username  Secret  Accountcode  Def.Context  ACL  NAT
openser  tutorial,openser  No   RFC3581
ivan    1212    tutorial  No   RFC3581

>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

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
--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

Reply via email to