VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
wiltingtree at gmail.com Guest
|
Posted: Sat Jun 13, 2009 11:19 am Post subject: [Freeswitch-users] mod_voicemail accounts on-the-fly |
|
|
Hi, I have a question about mod_voicemail. I would like to use it independently of the dialplan and I was hoping to be able to add new voicemail accounts on-the-fly, without having to update the FreeSWITCH configuration files. But it seems to be forcing me to manually add each user to the dialplan.
Does anybody know if mod_voicemail was made to work the way I'm trying to use it, and the best way to approach this?
Thanks,
Adam |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Sat Jun 13, 2009 11:59 am Post subject: [Freeswitch-users] mod_voicemail accounts on-the-fly |
|
|
Why would have to touch the dialplan? Just one regex to catch it all.. and send it to voicemail. You still have to add users to the directory for them to have a mailbox anyway.
/b
On Jun 13, 2009, at 12:18 PM, Adam Wilt wrote:
Quote: | Hi, I have a question about mod_voicemail. I would like to use it independently of the dialplan and I was hoping to be able to add new voicemail accounts on-the-fly, without having to update the FreeSWITCH configuration files. But it seems to be forcing me to manually add each user to the dialplan.
Does anybody know if mod_voicemail was made to work the way I'm trying to use it, and the best way to approach this?
Thanks,
Adam
|
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
wiltingtree at gmail.com Guest
|
Posted: Sat Jun 13, 2009 1:13 pm Post subject: [Freeswitch-users] mod_voicemail accounts on-the-fly |
|
|
I'm sorry, I said dialplan, but I was talking about the directory.
So the directory file must be edited every time a new mailbox is created?
Quote: |
Message: 7
Date: Sat, 13 Jun 2009 12:58:57 -0400
From: Brian West <brian@freeswitch.org (brian@freeswitch.org)>
Subject: Re: [Freeswitch-users] mod_voicemail accounts on-the-fly
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Message-ID: <F5F3AE5B-D6AD-440E-802A-360354822FC2@freeswitch.org (F5F3AE5B-D6AD-440E-802A-360354822FC2@freeswitch.org)>
Content-Type: text/plain; charset="us-ascii"
Why would have to touch the dialplan? Just one regex to catch it
all.. and send it to voicemail. You still have to add users to the
directory for them to have a mailbox anyway.
/b
On Jun 13, 2009, at 12:18 PM, Adam Wilt wrote:
Quote: | Hi, I have a question about mod_voicemail. I would like to use it
independently of the dialplan and I was hoping to be able to add new
voicemail accounts on-the-fly, without having to update the
FreeSWITCH configuration files. But it seems to be forcing me to
manually add each user to the dialplan.
Does anybody know if mod_voicemail was made to work the way I'm
trying to use it, and the best way to approach this?
Thanks,
Adam
|
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090613/bad009e9/attachment.html
------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
End of Freeswitch-users Digest, Vol 36, Issue 129
*************************************************
|
|
|
Back to top |
|
|
krice at freeswitch.org Guest
|
Posted: Sat Jun 13, 2009 1:27 pm Post subject: [Freeswitch-users] mod_voicemail accounts on-the-fly |
|
|
Either that or you feed it from something else like XML_CURL From: Adam Wilt <wiltingtree@gmail.com> Reply-To: <freeswitch-users@lists.freeswitch.org> Date: Sat, 13 Jun 2009 14:11:06 -0400 To: <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] mod_voicemail accounts on-the-fly I'm sorry, I said dialplan, but I was talking about the directory. So the directory file must be edited every time a new mailbox is created? Message: 7 Date: Sat, 13 Jun 2009 12:58:57 -0400 From: Brian West <brian@freeswitch.org> Subject: Re: [Freeswitch-users] mod_voicemail accounts on-the-fly To: freeswitch-users@lists.freeswitch.org Message-ID: <F5F3AE5B-D6AD-440E-802A-360354822FC2@freeswitch.org> Content-Type: text/plain; charset="us-ascii" Why would have to touch the dialplan? Just one regex to catch it all.. and send it to voicemail. You still have to add users to the directory for them to have a mailbox anyway. /b On Jun 13, 2009, at 12:18 PM, Adam Wilt wrote: > Hi, I have a question about mod_voicemail. I would like to use it > independently of the dialplan and I was hoping to be able to add new > voicemail accounts on-the-fly, without having to update the > FreeSWITCH configuration files. But it seems to be forcing me to > manually add each user to the dialplan. > > Does anybody know if mod_voicemail was made to work the way I'm > trying to use it, and the best way to approach this? > > Thanks, > Adam > Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090613/bad009e9/attachment.html ------------------------------ _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org End of Freeswitch-users Digest, Vol 36, Issue 129 ************************************************* _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org |
|
Back to top |
|
|
sprice at gmail.com Guest
|
Posted: Sat Jun 13, 2009 1:32 pm Post subject: [Freeswitch-users] mod_voicemail accounts on-the-fly |
|
|
Unless you use mod_xml_curl
On Sat, Jun 13, 2009 at 13:11, Adam Wilt <wiltingtree@gmail.com (wiltingtree@gmail.com)> wrote:
Quote: | I'm sorry, I said dialplan, but I was talking about the directory.
So the directory file must be edited every time a new mailbox is created?
Quote: |
Message: 7
Date: Sat, 13 Jun 2009 12:58:57 -0400
From: Brian West <brian@freeswitch.org (brian@freeswitch.org)>
Subject: Re: [Freeswitch-users] mod_voicemail accounts on-the-fly
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Message-ID: <F5F3AE5B-D6AD-440E-802A-360354822FC2@freeswitch.org (F5F3AE5B-D6AD-440E-802A-360354822FC2@freeswitch.org)>
Content-Type: text/plain; charset="us-ascii"
Why would have to touch the dialplan? Just one regex to catch it
all.. and send it to voicemail. You still have to add users to the
directory for them to have a mailbox anyway.
/b
On Jun 13, 2009, at 12:18 PM, Adam Wilt wrote:
Quote: | Hi, I have a question about mod_voicemail. I would like to use it
independently of the dialplan and I was hoping to be able to add new
voicemail accounts on-the-fly, without having to update the
FreeSWITCH configuration files. But it seems to be forcing me to
manually add each user to the dialplan.
Does anybody know if mod_voicemail was made to work the way I'm
trying to use it, and the best way to approach this?
Thanks,
Adam
|
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090613/bad009e9/attachment.html
------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
End of Freeswitch-users Digest, Vol 36, Issue 129
*************************************************
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
--
Shannon |
|
Back to top |
|
|
wiltingtree at gmail.com Guest
|
Posted: Sat Jun 13, 2009 5:31 pm Post subject: [Freeswitch-users] mod_voicemail accounts on-the-fly |
|
|
Thanks. I would really like mod_voicemail to be database driven, instead of by XML and cURL.
I noticed in the documentation that you can provide an ODBC handle in the voicemail.conf.xml file, and so I tried it with MySQL.
It created the two tables, voicemail_msgs and voicemail_prefs properly, and voicemail_msgs works the way I expect; when a new voicemail is created it writes a new record in this table. But I don't understand the purpose of voicemail_prefs; when I add a record here with a username and password, mod_voicemail ignores it. So I still have to use the config file or xml_curl to set-up the users. It doesn't seem like mod_voicemail reads from or writes to this table.
|
|
Back to top |
|
|
krice at freeswitch.org Guest
|
Posted: Sat Jun 13, 2009 5:42 pm Post subject: [Freeswitch-users] mod_voicemail accounts on-the-fly |
|
|
That does not provide for User configuration only voicemail metadata storage... Again, at this time you would need to use XML CURL to do what you are trying to do. There at some point in the future may be a way to grab users via direct ODBC or other database driver however at this point its not possible... Your only other possible option is via LDAP for the users From: Adam Wilt <wiltingtree@gmail.com> Reply-To: <freeswitch-users@lists.freeswitch.org> Date: Sat, 13 Jun 2009 18:28:55 -0400 To: <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] mod_voicemail accounts on-the-fly Thanks. I would really like mod_voicemail to be database driven, instead of by XML and cURL. I noticed in the documentation that you can provide an ODBC handle in the voicemail.conf.xml file, and so I tried it with MySQL. It created the two tables, voicemail_msgs and voicemail_prefs properly, and voicemail_msgs works the way I expect; when a new voicemail is created it writes a new record in this table. But I don't understand the purpose of voicemail_prefs; when I add a record here with a username and password, mod_voicemail ignores it. So I still have to use the config file or xml_curl to set-up the users. It doesn't seem like mod_voicemail reads from or writes to this table. _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Sat Jun 13, 2009 5:43 pm Post subject: [Freeswitch-users] mod_voicemail accounts on-the-fly |
|
|
Then you're free to write your own directory hook and plug it directly
into the database how ever you wish. Look how XML_CURL uses this
interface.
/b
On Jun 13, 2009, at 5:28 PM, Adam Wilt wrote:
Quote: | Thanks. I would really like mod_voicemail to be database driven,
instead of by XML and cURL.
I noticed in the documentation that you can provide an ODBC handle
in the voicemail.conf.xml file, and so I tried it with MySQL.
It created the two tables, voicemail_msgs and voicemail_prefs
properly, and voicemail_msgs works the way I expect; when a new
voicemail is created it writes a new record in this table. But I
don't understand the purpose of voicemail_prefs; when I add a
record here with a username and password, mod_voicemail ignores it.
So I still have to use the config file or xml_curl to set-up the
users. It doesn't seem like mod_voicemail reads from or writes to
this table.
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
diego.viola at gmail.com Guest
|
Posted: Sat Jun 13, 2009 6:08 pm Post subject: [Freeswitch-users] mod_voicemail accounts on-the-fly |
|
|
And please contribute things back when you do it.
Diego
On Sat, Jun 13, 2009 at 6:42 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote: | Then you're free to write your own directory hook and plug it directly
into the database how ever you wish. Look how XML_CURL uses this
interface.
/b
On Jun 13, 2009, at 5:28 PM, Adam Wilt wrote:
Quote: | Thanks. I would really like mod_voicemail to be database driven,
instead of by XML and cURL.
I noticed in the documentation that you can provide an ODBC handle
in the voicemail.conf.xml file, and so I tried it with MySQL.
It created the two tables, voicemail_msgs and voicemail_prefs
properly, and voicemail_msgs works the way I expect; when a new
voicemail is created it writes a new record in this table. But I
don't understand the purpose of voicemail_prefs; when I add a
record here with a username and password, mod_voicemail ignores it.
So I still have to use the config file or xml_curl to set-up the
users. It doesn't seem like mod_voicemail reads from or writes to
this table.
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
gavin.henry at gmail.com Guest
|
Posted: Sun Jun 14, 2009 3:19 pm Post subject: [Freeswitch-users] mod_voicemail accounts on-the-fly |
|
|
Are there any ldap examples?
On 13/06/2009, Ken Rice <krice@freeswitch.org> wrote:
Quote: | That does not provide for User configuration only voicemail metadata
storage... Again, at this time you would need to use XML CURL to do what you
are trying to do. There at some point in the future may be a way to grab
users via direct ODBC or other database driver however at this point its not
possible... Your only other possible option is via LDAP for the users
From: Adam Wilt <wiltingtree@gmail.com>
Reply-To: <freeswitch-users@lists.freeswitch.org>
Date: Sat, 13 Jun 2009 18:28:55 -0400
To: <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] mod_voicemail accounts on-the-fly
Thanks. I would really like mod_voicemail to be database driven, instead of
by XML and cURL.
I noticed in the documentation that you can provide an ODBC handle in the
voicemail.conf.xml file, and so I tried it with MySQL.
It created the two tables, voicemail_msgs and voicemail_prefs properly, and
voicemail_msgs works the way I expect; when a new voicemail is created it
writes a new record in this table. But I don't understand the purpose of
voicemail_prefs; when I add a record here with a username and password,
mod_voicemail ignores it. So I still have to use the config file or xml_curl
to set-up the users. It doesn't seem like mod_voicemail reads from or writes
to this table.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
--
Sent from my mobile device
http://www.suretecsystems.com/services/openldap/
http://www.suretectelecom.com
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|