[Freeswitch-users] can vm settings go in conf\directory\default\default.xml?
mbsip
mbsip at gazeta.pl
Sun Feb 14 08:01:47 PST 2010
Paul,
Maybe you should think about providing dynamic directory information
by using DB.
>From my point of view, Its much easier to manage DB than .xml files.
Thx,
Maciej.
2010/2/13 mbsip <mbsip at gazeta.pl>:
> So now I am with You Paul. I have the same thoughs and problem :P
>
> Thanks,
> Maciej.
>
> 2010/2/13 Paul Levin <paul at apcl.us>:
>> Thank you for the reply Maciej.
>>
>> Looks like I made an error in my first email, so let me repeat the problem.
>> If I put the lines:
>>
>> <param name="vm-email-all-messages" value="true"/>
>> <param name="vm-keep-local-after-email" value="false"/>
>> <param name="vm-attach-file" value="true"/>
>>
>> into conf/directory/default/Bob.xml then emails for voice mail are sent.
>>
>> If I remove those three lines from Bob.xml and put them into
>> conf/directory/default.xml then emails are not sent.
>>
>> I would have thought that putting those lines in
>> conf/directory/default.xml would remove the requirement to have them in
>> Bob.xml. No?
>>
>> Thanks,
>> Paul
>>
>>
>>
>> From:
>> mbsip <mbsip at gazeta.pl>
>> Date:
>> Sat, 13 Feb 2010 22:23:02 +0100
>>
>>> Have you tried doing the same with
>>> /usr/local/freeswitch/conf/directory/default.xml ?
>>
>>> Maciej
>>
>> 2010/2/13 Paul Levin <paul at apcl.us>:
>>
>>> I'm running FS on Windows (in case that matters here).
>>>
>>> In conf\directory\default\Bob.xml I have the settings:
>>>
>>> <param name="vm-email-all-messages" value="true"/>
>>> <param name="vm-keep-local-after-email" value="false"/>
>>> <param name="vm-attach-file" value="true"/>
>>>
>>> in addition to other vm- setting that are specific to Bob. When a voice
>>> mail is left for Bob, an email is sent to the configured email address.
>>> It
>>> is working well. When the email is sent, I can see in the console the
>>> lines:
>>>
>>> 2010-02-10 15:41:36.949484 [DEBUG]
>>> switch_utils.c:633 Emailed file [C:\WINDOWS\TEMP\mail.12658416960810]
>>> to [bob at domain.com]
>>>
>>> 2010-02-10 15:41:36.949484 [DEBUG]
>>> mod_voicemail.c:2541 Sending message to bob at domain.com
>>>
>>> I then move those 3 <param> lines into the default\default.xml file. Now
>>> when a voice mail is left for Bob, an email is not sent and those debug
>>> lines do not appear on the console.
>>>
>>> I don't mind keeping those 3 lines in each user file, but I'm expecting to
>>> have about 10,000 users and its kinda silly to repeat those lines in each
>>> user's file. Can't they go in the default.xml file (and have it work)?
>>>
>>> Thanks,
>>> Paul
>>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
More information about the FreeSWITCH-users
mailing list