[asterisk-users] urgently requires help regarding MWI

Anthony Cennami acennami at gmail.com
Thu Sep 14 16:05:32 MST 2006


You need to create an "asterisk" extension in your context.  Assuming your
callerid is set to your voicemail box, you could use something like:

exten => asterisk,1,VoiceMailMain(${CALLERIDNUM}@mb_tutorial)

This is assuming you are trying to check your messages via a MWI message.

Anthony


On 9/14/06, Tanzeel serfaraz <tanzeelcs at yahoo.com> wrote:
>
> Hi users;
>
> i am new to use asterisk so i am facing some problems.
> i have installed asterisk 1.2.4 and all the
> requirements.
> i have to implement the 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 voice mail box on asterisk like:
>
> 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:extensions.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()
>
>
> the user(ivan) is registered on my openser.when i m
> dialling from my xlite ,i have 404 NOT FOUND error on
> my xlite.and my asterisk consule is showing like
> screen 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"
>
>
>
>
>
>
> 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)---
> Destroying call
> '62f1adf767b7cb3f4ef457c8422bf933 at 192.168.1.131'
> Destroying call
> '4a9471541c2bc1331824afb7560fbe5a at localhost'
>
> here is some output of command:
>
> >show voicemail users
> Context    Mbox  User                      Zone
> NewMsg
> other      1234  Company2 User
>     0
> mb_tutorial 777   ivan
>      0
>
> >sip show users
> Username                   Secret
> Accountcode      Def.Context      ACL  NAT
> 14082097788                1234
>       testagi          No   RFC3581
> openser
>       tutorial,opense  No   RFC3581
> ivan                       1212
>       tutorial,mb_tut  No   RFC3581
>
> PLZ HELP ME WHAT I AM DOING WRONG ,I SPEND A WEEK TO
> SOLVE ON MY WAY BUT UNABLE TO DO THAT:
>
> HOPE SOMEONE WILL SOLVE MY PROBLEM:
>
> 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
>



-- 
Anthony D Cennami
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060914/2c8c3d3c/attachment.htm


More information about the asterisk-users mailing list