Re: [Freeswitch-users] Remote fetching of voicemail

2009-12-03 Thread François Legal
 

Thanks. 

I did not succed to fincing the correct syntx with inline,
but the transfer application did work. 

François 

On Wed, 2 Dec 2009
12:21:54 -0600, Anthony Minessale wrote:  

bind to the transfer app so
that it transfers the call to the vm extension that way the current
application is always interrupted and replaced.

The special "inline"
dialplan lets you transfer calls right to an application

use "inline" as
the dp name and voicemail: as the extension

 On Wed, Dec 2, 2009 at 4:57
AM, François Legal  wrote:

Hello, 

I created an extension in my dialplan
so that when an incoming call arrives, it rings a group of lines and then
fallback to the voicemail if no line is answered. 

I wanted then that when
voicemail starts, the calling party could dial some numbers to fetch the
voicemail. I used bind_meta_app for this. My problem is, when using
bind_meta_app, the voicemail continues, and I sometimes experience
freeswitch hanging after the call is over, depending on when the
bind_meta_app is activated. 

How can I make freeswitch terminate the first
voicemail instance when activating the bind_meta_app. 

Here's my extension
: 

Thanks 

François 
___

FreeSWITCH-users mailing list
[email protected]
[2]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users [3]

UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
[4]
http://www.freeswitch.org [5]

-- 
Anthony Minessale II

FreeSWITCH
http://www.freeswitch.org/ [6]
ClueCon http://www.cluecon.com/ [7]

Twitter: http://twitter.com/FreeSWITCH_wire [8]

AIM:
anthm
MSN:[email protected]
[9]
GTALK/JABBER/PAYPAL:[email protected] [10]
 IRC:
irc.freenode.net [11] #freeswitch

FreeSWITCH Developer
Conference
sip:[email protected]
[12]
iax:[email protected]/888
[13]
googletalk:[email protected] [14]
pstn:213-799-1400




Links:
--
[1] mailto:[email protected]
[2]
mailto:[email protected]
[3]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
[4]
http://lists.freeswitch.org/mailman/options/freeswitch-users
[5]
http://www.freeswitch.org
[6] http://www.freeswitch.org/
[7]
http://www.cluecon.com/
[8] http://twitter.com/FreeSWITCH_wire
[9]
mailto:msn%[email protected]
[10]
mailto:paypal%[email protected]
[11]
http://irc.freenode.net
[12]
mailto:sip%[email protected]
[13]
http://iax:[email protected]/888
[14]
mailto:googletalk%3aconf%[email protected]
___
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Remote fetching of voicemail

2009-12-03 Thread François Legal
Well, I'm just starting to use freeswitch, so my approach is probably for
from optimal. The point is I wanted that voicemail do not prompt for
passwords when the caller is a sip registered user, but I also wanted the
login requirement if the voicemail was called from some FXS port.

That lead me to having :



  
  





  



  




  


in my dialplan.

François

On Wed, 2 Dec 2009 13:15:28 -0500, Frank Carmickle 
wrote:
> On Wed, Dec 02, Fran??ois Legal wrote:
>> No, my voicemail extension (I have 2 actually) is called
>> vmain_unregistered_user, so in voicemail.conf.xml I have :
> 
> Also, is there a functional requirement for two different extensions to
> call vmain?
> 
> --FC
> 
> ___
> FreeSWITCH-users mailing list
> [email protected]
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

___
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Remote fetching of voicemail

2009-12-02 Thread Anthony Minessale
bind to the transfer app so that it transfers the call to the vm extension
that way the current application is always interrupted and replaced.

The special "inline" dialplan lets you transfer calls right to an
application

use "inline" as the dp name and voicemail: as the extension


On Wed, Dec 2, 2009 at 4:57 AM, François Legal  wrote:

> Hello,
>
>
>
> I created an extension in my dialplan so that when an incoming call
> arrives, it rings a group of lines and then fallback to the voicemail if no
> line is answered.
>
> I wanted then that when voicemail starts, the calling party could dial some
> numbers to fetch the voicemail. I used bind_meta_app for this. My problem
> is, when using bind_meta_app, the voicemail continues, and I sometimes
> experience freeswitch hanging after the call is over, depending on when the
> bind_meta_app is activated.
>
> How can I make freeswitch terminate the first voicemail instance when
> activating the bind_meta_app.
>
>
>
> Here's my extension :
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Thanks
>
>
>
> François
>
> ___
> FreeSWITCH-users mailing list
> [email protected]
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:[email protected] 
GTALK/JABBER/PAYPAL:[email protected]
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[email protected] 
iax:[email protected]/888
googletalk:[email protected]
pstn:213-799-1400
___
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Remote fetching of voicemail

2009-12-02 Thread Frank Carmickle
On Wed, Dec 02, Fran??ois Legal wrote:
> No, my voicemail extension (I have 2 actually) is called
> vmain_unregistered_user, so in voicemail.conf.xml I have :

Also, is there a functional requirement for two different extensions to call 
vmain?

--FC

___
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Remote fetching of voicemail

2009-12-02 Thread Michael Collins
On Wed, Dec 2, 2009 at 9:43 AM, François Legal  wrote:

> No, my voicemail extension (I have 2 actually) is called
> vmain_unregistered_user, so in voicemail.conf.xml I have :
>
> 
>
> But still (and I don't even know if I'm using it the right way), I would
> expect that when the voicemail greeting starts, I could press * on the
> phone to call the vmain_unregistered_user extension in my dialplan, but
> that never happens.
> What I want, is when someone dials in (this is usefull only from outside
> so via FXO line) his extension (or any other, it's not important) that
> when
> he reach the voicemail to leave a message, override the "leave a message"
> voicemail and enter the "check my messages" voicemail (with an
> authentication step).
>
>
I think you want to press zero:


Of course, you can change that value to something else if you prefer the
zero to be a transfer-to-operator kind of function.
-MC
___
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Remote fetching of voicemail

2009-12-02 Thread Frank Carmickle
On Wed, Dec 02, Fran??ois Legal wrote:
> No, my voicemail extension (I have 2 actually) is called
> vmain_unregistered_user, so in voicemail.conf.xml I have :
> 
> 
> 
> But still (and I don't even know if I'm using it the right way), I would
> expect that when the voicemail greeting starts, I could press * on the
> phone to call the vmain_unregistered_user extension in my dialplan, but
> that never happens.
> What I want, is when someone dials in (this is usefull only from outside
> so via FXO line) his extension (or any other, it's not important) that
> when
> he reach the voicemail to leave a message, override the "leave a message"
> voicemail and enter the "check my messages" voicemail (with an
> authentication step).
> 
> I'm not sure this is clear.

Totally clear.  My last example of extension vmain should have the goodies you 
need to have it work correctly.  I have not tested changing 

  

to something different.  Maybe this is broken?  Try setting it back to the 
default and making your changes in the dialplan like I did.  I can tell you 
that it is working as of svn 15396.  

--FC

___
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Remote fetching of voicemail

2009-12-02 Thread François Legal
No, my voicemail extension (I have 2 actually) is called
vmain_unregistered_user, so in voicemail.conf.xml I have :



But still (and I don't even know if I'm using it the right way), I would
expect that when the voicemail greeting starts, I could press * on the
phone to call the vmain_unregistered_user extension in my dialplan, but
that never happens.
What I want, is when someone dials in (this is usefull only from outside
so via FXO line) his extension (or any other, it's not important) that
when
he reach the voicemail to leave a message, override the "leave a message"
voicemail and enter the "check my messages" voicemail (with an
authentication step).

I'm not sure this is clear.

François


On Wed, 2 Dec 2009 12:16:14 -0500, Frank Carmickle 
wrote:
> On Wed, Dec 02, Fran??ois Legal wrote:
>> I did check (and modify as my voicemail extension name is not vmain)
the
>> voicemail.conf.xml, and vmain-key is *.
>> 
>> What I mean by remote fetching of voicemail, is that someone may dial
in,
>> either from inside (via FXS or even SIP) or outside (via FXO), then
when
>> reaching the voice mail to leave a message, he could dial some specific
>> digit (or digits) to reach the voicemail login and fetch his voice
mails.
>> 
>> I can do this using bind_meta_app (it is already working), but then I
>> need
>> to terminate the extension when invoking the meta_app, otherwise
>> freeswitch
>> may sometimes hang if the meta app is called after the "leave a
message"
>> voicemail tone.
> 
> Alright.  I missed what vmain actually does in the voicemail config.  It
> actually calls the extension named vmain in the dialplan.  So if you
don't
> have this then you will need to have one.  Thanks for asking this
question
> because my voicemail auth was broken and I didn't even know it!  I fixed
it
> and a working extension for vmain can look like this.
> 
> 
>  expression="^vmain$|^voicemail$|^\*98$|^\*86$">
> 
> 
> 
> 
>   
> 
>  
> HTH
> --FC
> 
> ___
> FreeSWITCH-users mailing list
> [email protected]
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

___
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Remote fetching of voicemail

2009-12-02 Thread Frank Carmickle
On Wed, Dec 02, Fran??ois Legal wrote:
> I did check (and modify as my voicemail extension name is not vmain) the
> voicemail.conf.xml, and vmain-key is *.
> 
> What I mean by remote fetching of voicemail, is that someone may dial in,
> either from inside (via FXS or even SIP) or outside (via FXO), then when
> reaching the voice mail to leave a message, he could dial some specific
> digit (or digits) to reach the voicemail login and fetch his voice mails.
> 
> I can do this using bind_meta_app (it is already working), but then I need
> to terminate the extension when invoking the meta_app, otherwise freeswitch
> may sometimes hang if the meta app is called after the "leave a message"
> voicemail tone.

Alright.  I missed what vmain actually does in the voicemail config.  It 
actually calls the extension named vmain in the dialplan.  So if you don't have 
this then you will need to have one.  Thanks for asking this question because 
my voicemail auth was broken and I didn't even know it!  I fixed it and a 
working extension for vmain can look like this.


  




  

 
HTH
--FC

___
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Remote fetching of voicemail

2009-12-02 Thread François Legal
I did check (and modify as my voicemail extension name is not vmain) the
voicemail.conf.xml, and vmain-key is *.

What I mean by remote fetching of voicemail, is that someone may dial in,
either from inside (via FXS or even SIP) or outside (via FXO), then when
reaching the voice mail to leave a message, he could dial some specific
digit (or digits) to reach the voicemail login and fetch his voice mails.

I can do this using bind_meta_app (it is already working), but then I need
to terminate the extension when invoking the meta_app, otherwise freeswitch
may sometimes hang if the meta app is called after the "leave a message"
voicemail tone.

François

On Wed, 2 Dec 2009 11:00:11 -0500, Frank Carmickle 
wrote:
> On Wed, Dec 02, Fran??ois Legal wrote:
> Snip...
>> > voicemail config.  Look at autoload_configs/voicemail.conf.xml
>> > 
>> > 
>> > 
>> > HTH
>> > --FC
>> > 
>> 
>> I tried to remove the bind_meta_app from the dialplan, call the
extension
>> then press * when the greeting message starts, but it did not bring the
>> voicemail prompt for my id and password.
> 
> Did you check your voicemail config as I pointed out? 
> autoload_configs/voicemail.conf.xml should have
> 
> 
> 
> And what exactly do you mean by "Remote fetching of voicemail?"
> 
> --FC
> 
> ___
> FreeSWITCH-users mailing list
> [email protected]
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

___
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Remote fetching of voicemail

2009-12-02 Thread Frank Carmickle
On Wed, Dec 02, Fran??ois Legal wrote:
Snip...
> > voicemail config.  Look at autoload_configs/voicemail.conf.xml
> > 
> > 
> > 
> > HTH
> > --FC
> > 
> 
> I tried to remove the bind_meta_app from the dialplan, call the extension
> then press * when the greeting message starts, but it did not bring the
> voicemail prompt for my id and password.

Did you check your voicemail config as I pointed out?  
autoload_configs/voicemail.conf.xml should have



And what exactly do you mean by "Remote fetching of voicemail?"

--FC

___
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Remote fetching of voicemail

2009-12-02 Thread François Legal
On Wed, 2 Dec 2009 08:45:27 -0500, Frank Carmickle 
wrote:
> On Wed, Dec 02, Fran??ois Legal wrote:
>> 
>> 
>> Hello, 
>> 
>> I created an extension in my dialplan so that when an incoming
>> call arrives, it rings a group of lines and then fallback to the
>> voicemail
>> if no line is answered. 
>> 
>> I wanted then that when voicemail starts, the
>> calling party could dial some numbers to fetch the voicemail. I used
>> bind_meta_app for this. My problem is, when using bind_meta_app, the
>> voicemail continues, and I sometimes experience freeswitch hanging
after
>> the call is over, depending on when the bind_meta_app is activated. 
> 
> The action your looking for is what is bound to "*" in the default
> voicemail config.  Look at autoload_configs/voicemail.conf.xml
> 
> 
> 
> HTH
> --FC
> 

I tried to remove the bind_meta_app from the dialplan, call the extension
then press * when the greeting message starts, but it did not bring the
voicemail prompt for my id and password.

François

> ___
> FreeSWITCH-users mailing list
> [email protected]
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

___
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Remote fetching of voicemail

2009-12-02 Thread Frank Carmickle
On Wed, Dec 02, Fran??ois Legal wrote:
> 
> 
> Hello, 
> 
> I created an extension in my dialplan so that when an incoming
> call arrives, it rings a group of lines and then fallback to the voicemail
> if no line is answered. 
> 
> I wanted then that when voicemail starts, the
> calling party could dial some numbers to fetch the voicemail. I used
> bind_meta_app for this. My problem is, when using bind_meta_app, the
> voicemail continues, and I sometimes experience freeswitch hanging after
> the call is over, depending on when the bind_meta_app is activated. 

The action your looking for is what is bound to "*" in the default voicemail 
config.  Look at autoload_configs/voicemail.conf.xml



HTH
--FC

___
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org