Dear all: I am confused with voicemail for several days. I hope someone could help me please. I would like to send a voicemail with audio attachment by my application. My FS is Version 1.0.head, on Windows XP. The following are my configurations: switch.conf.xml: <param name="mailer-app" value="C:\FreeSWITCH\Mailer.exe"/> <param name="mailer-app-args" value="MyArgs -t"/> \directory\default\1001.xml <param name="vm-password" value="1001"/> <param name="vm-mailto" value="thisjoy@gmail.com" /> <param name="vm-email-all-messages" value="true"/> <param name="vm-attach-file" value="true" /> Other settings are as default. I register with 1000 and call 1001 (not registered) for sending a voicemail. When I left a message, my Mailer.exe only receives the arguments: -f 1001@192.168.1.1 MyArgs –t thisjoy@gmail.com. FS shows "The process tried to write to a nonexistent pipe", and the mail actually sends to me without the attachment (I have test my Mailer.exe, it could attach a file without FS). The audio file exists in "C:\FreeSWITCH\storage\voicemail\default\192.168.1.1\1001". I saw “2010-11-12 18:50:18.171875 [DEBUG] switch_utils.c:631 Emailed file [C:\DOCUME~1\123\LOCALS~1\Temp\mail.12895590120029] to [thisjoy@gmail.com]” in the log file, but the file “mail.12895590120029” never appears. I found that the directory “C:\DOCUME~1\123\LOCALS~1\Temp” is as the sqlite temporary path in the “freeswitch\libs\sqlite\www\pragma.tcl”, although I do not know if this causes the mail failure. Could anyone teach me how to attach the audio file with the mail? Sincerely yours, thisjoy.
I would suggest that you use CentOS for this purpose. FreeSwitch for Windows IMO isn't as good as the *nix version of FreeSwitch. On Mon, Nov 15, 2010 at 2:13 AM, joy this <thisjoy0528@gmail.com> wrote:
Dear all:
I am confused with voicemail for several days. I hope someone could help me please.
I would like to send a voicemail with audio attachment by my application. My FS is Version 1.0.head, on Windows XP. The following are my configurations:
switch.conf.xml:
<param name="mailer-app" value="C:\FreeSWITCH\Mailer.exe"/>
<param name="mailer-app-args" value="MyArgs -t"/>
\directory\default\1001.xml
<param name="vm-password" value="1001"/>
<param name="vm-mailto" value="thisjoy@gmail.com" />
<param name="vm-email-all-messages" value="true"/>
<param name="vm-attach-file" value="true" />
Other settings are as default. I register with 1000 and call 1001 (not registered) for sending a voicemail. When I left a message, my Mailer.exe only receives the arguments: -f 1001@192.168.1.1 MyArgs –t thisjoy@gmail.com. FS shows "The process tried to write to a nonexistent pipe", and the mail actually sends to me without the attachment (I have test my Mailer.exe, it could attach a file without FS). The audio file exists in "C:\FreeSWITCH\storage\voicemail\default\192.168.1.1\1001". I saw “2010-11-12 18:50:18.171875 [DEBUG] switch_utils.c:631 Emailed file [C:\DOCUME~1\123\LOCALS~1\Temp\mail.12895590120029] to [thisjoy@gmail.com]” in the log file, but the file “mail.12895590120029” never appears. I found that the directory “C:\DOCUME~1\123\LOCALS~1\Temp” is as the sqlite temporary path in the “freeswitch\libs\sqlite\www\pragma.tcl”, although I do not know if this causes the mail failure.
Could anyone teach me how to attach the audio file with the mail?
Sincerely yours,
thisjoy.
_______________________________________________ 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
can you use the recommended windows smtp mailer? msmtp I use this and it works fine for me. If you cant use that we may need a debugger with some breakpoints set. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/problem-with-voicemail-tp57395... Sent from the freeswitch-users mailing list archive at Nabble.com.
I found the command "switch_snprintf(buf, B64BUFFLEN, "type %s | %s -f %s %s %s", filename, runtime.mailer_app, from, runtime.mailer_app_args, to);" in switch_utils.c. Now I can add arguments I want. Thank you for suggestions. 2010/11/16 Jeff Lenk <jeff@jefflenk.com>
can you use the recommended windows smtp mailer? msmtp
I use this and it works fine for me. If you cant use that we may need a debugger with some breakpoints set. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/problem-with-voicemail-tp57395... Sent from the freeswitch-users mailing list archive at Nabble.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
participants (3)
-
Jeff Lenk
-
Jeffrey Leung
-
joy this