[asterisk-users] Checking messages from outside the network

2013-09-11 Thread Nick Cameo
Hello Everyone,

I am using the following dialplan to allow users to check their
messages from PSTN world:

; Internal Routing
exten = _1XX,1,Dial(SIP/${EXTEN}, 10)
exten = _1XX,n,Wait(1)
exten = _1XX,n,Answer
exten = _1XX,n,Wait(1)
exten = _1XX,n,Voicemail(${EXTEN},us)
exten = _1XX,n,Hangup

The problem is that when the user presses `*#` to check his/her
messages, it adds
an additional message, even if there were no messages to begin with. I hope I am
explaining this correctly. Can the dialplan be improved so that there
is no additional
message added when the owner is trying to check their mail box.

Kind Regards,

Nick.

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Checking messages from outside the network

2013-09-11 Thread jg

Have you considered using VoiceMailMain()?

jg

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Checking messages from outside the network

2013-09-11 Thread Nick Cameo
Guys,

Sorry, I pasted the wrong dialplan. What we are using is the following:

exten = 6474770990,1,Answer
exten = 6474770990,n,Wait(1)
exten = 6474770990,n,Voicemail(1001,us)
exten = 6474770990,n,VoicemailMain(1001)
exten = 6474770990,n,Hangup

So, we are using VoicemailMain, but wile trying to check messages (*#), it adds
a message inadvertently.

Can this be avoided?

Nick.

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Checking messages from outside the network

2013-09-11 Thread Carlos Rojas
Are talking about of prepend message?

Because for listening the messages, you can use VoiceMailMain

Carlos Rojas


On Wed, Sep 11, 2013 at 11:37 AM, jg webaccou...@jgoettgens.de wrote:

 Have you considered using VoiceMailMain()?

 jg


 --
 __**__**_
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   
 http://lists.digium.com/**mailman/listinfo/asterisk-**usershttp://lists.digium.com/mailman/listinfo/asterisk-users

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Checking messages from outside the network

2013-09-11 Thread Nick Cameo
Thanks guys, it worked perfectly. No inadvertent message added when
attempting
to check messages from outside:

exten = 1001,1,Answer
exten = 1001,n,Wait(1)
exten = 1001,n,Voicemail(1001,us)
exten = a,1,VoicemailMain(1001)
exten = 1001,n,Hangup

Press * without pound, and voice mail main fires.

Kind Regards,

Nick from Toronto.

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Checking messages from outside the network

2013-09-11 Thread John Kiniston
You could add an 'a' extension to the context you are receiving calls in
and remove the call to VoiceMailMain after your call to Voicemail.

exten = a,1,VoiceMailMain(1001)

The VoiceMail app listens for users to press '*' and directs callers to the
'a' extension in the same context if pressed.


On Wed, Sep 11, 2013 at 9:26 AM, Nick Cameo sym...@gmail.com wrote:

 Guys,

 Sorry, I pasted the wrong dialplan. What we are using is the following:

 exten = 6474770990,1,Answer
 exten = 6474770990,n,Wait(1)
 exten = 6474770990,n,Voicemail(1001,us)
 exten = 6474770990,n,VoicemailMain(1001)
 exten = 6474770990,n,Hangup

 So, we are using VoicemailMain, but wile trying to check messages (*#), it
 adds
 a message inadvertently.

 Can this be avoided?

 Nick.

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users




-- 
A human being should be able to change a diaper, plan an invasion, butcher
a hog, conn a ship, design a building, write a sonnet, balance accounts,
build a wall, set a bone, comfort the dying, take orders, give orders,
cooperate, act alone, solve equations, analyze a new problem, pitch manure,
program a computer, cook a tasty meal, fight efficiently, die gallantly.
Specialization is for insects.
---Heinlein
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users