Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] voicemail web interface


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
helmut.kuper at ewetel.de
Guest





PostPosted: Thu Jan 22, 2009 11:26 am    Post subject: [Freeswitch-users] voicemail web interface Reply with quote

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I tried to get voicemail web interface up and running. I found that we
need xml_rpc to open the 8080 port of FS. Then USer-profile needs
"http-allowed-api=voicemail" parameter. After that I left a message for
my account and tried to access my voicemails via web (I replaced fs.ip
with my IP):

http://fs.ip:8080/api/voicemail/web

This led to a web page generating out of web-vm.tpl with 0 (zero)
voicemails. If I call my voicebox to listen to the messages, there is
one new message available. My phone gets a mwi saying there is 1 new
message for me.

I wonder how the page knows for whom it shall display the voicemails.



After that I tried "http://fs.ip:8080/api/domains/this/api/voicemail/web"

This delivered:

Error 404

Not Found

ABYSS Web Server for XML-RPC For C/C++ version Xmlrpc-c 1.14.99


Hm, any ideas ?


regards
Helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iEYEARECAAYFAkl4m2gACgkQ4tZeNddg3dzIogCgnZybNeIkfsFbyKzSmusgUP5b
hc8AoLYYO8Fi5RHKLEk7eXxUfzj+udIW
=ofO3
-----END PGP SIGNATURE-----

_______________________________________________
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
intralanman at freeswi...
Guest





PostPosted: Thu Jan 22, 2009 11:55 am    Post subject: [Freeswitch-users] voicemail web interface Reply with quote

Helmut Kuper wrote:
Quote:
http://fs.ip:8080/api/voicemail/web

This led to a web page generating out of web-vm.tpl with 0 (zero)
voicemails.
make sure that the voicemail is left for user@ip rather than
user@some.domain.name
Quote:
If I call my voicebox to listen to the messages, there is
one new message available. My phone gets a mwi saying there is 1 new
message for me.

I wonder how the page knows for whom it shall display the voicemails.

it should have prompted you for a user/pass when you hit that page...

-Ray

_______________________________________________
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
msc at freeswitch.org
Guest





PostPosted: Thu Jan 22, 2009 2:26 pm    Post subject: [Freeswitch-users] voicemail web interface Reply with quote

On Thu, Jan 22, 2009 at 8:14 AM, Helmut Kuper <helmut.kuper@ewetel.de> wrote:
Quote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I tried to get voicemail web interface up and running. I found that we
need xml_rpc to open the 8080 port of FS. Then USer-profile needs
"http-allowed-api=voicemail" parameter. After that I left a message for
my account and tried to access my voicemails via web (I replaced fs.ip
with my IP):

http://fs.ip:8080/api/voicemail/web

This led to a web page generating out of web-vm.tpl with 0 (zero)
voicemails. If I call my voicebox to listen to the messages, there is
one new message available. My phone gets a mwi saying there is 1 new
message for me.

I wonder how the page knows for whom it shall display the voicemails.



After that I tried "http://fs.ip:8080/api/domains/this/api/voicemail/web"

This delivered:

Error 404

Not Found

ABYSS Web Server for XML-RPC For C/C++ version Xmlrpc-c 1.14.99


Hm, any ideas ?

This was my bad. I documented it incorrectly on the wiki. I've updated
the wiki to reflect the proper URL which is:
http://fs.ip:8080/domains/this/api/voicemail/web

Give it a try and let me know if you have any issues.
-MC
Quote:


regards
Helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iEYEARECAAYFAkl4m2gACgkQ4tZeNddg3dzIogCgnZybNeIkfsFbyKzSmusgUP5b
hc8AoLYYO8Fi5RHKLEk7eXxUfzj+udIW
=ofO3
-----END PGP SIGNATURE-----

_______________________________________________
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


_______________________________________________
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
anthony.minessale at g...
Guest





PostPosted: Thu Jan 22, 2009 2:41 pm    Post subject: [Freeswitch-users] voicemail web interface Reply with quote

Start by knowing the exact domain of your directory domain (the name= in the <domain> tag)
Lets say it's helmut.com and your ip is 1.2.3.4 and your extension is 1000

so if helmut.com is a real domain on the internet you could point the dns so helmut.com points at FS
then you could go to

http://helmut.com:8080/api/voicemail/web

now you can just supply 1000 as the user name with no domain and it will assumed to be helmut.com

instead you can also go to

http://1.2.3.4:8080/api/voicemail/web

and specify the user name 1000@helmut.com (1000@helmut.com) and now you can control the domain that way.

finally you can go to

http://1.2.3.4:8080/domains/helmut.com/api/voicemail/web

and supply the user name 1000 because you have explicitly set the domain in the url.


you should also be specifying the same domain as the argument to voicemail app





On Thu, Jan 22, 2009 at 10:31 AM, Raymond Chandler <intralanman@freeswitch.org (intralanman@freeswitch.org)> wrote:
Quote:
Helmut Kuper wrote:
Quote:
http://fs.ip:8080/api/voicemail/web

This led to a web page generating out of web-vm.tpl with 0 (zero)
voicemails.

make sure that the voicemail is left for user@ip rather than user@some.domain.name (user@some.domain.name)
Quote:
If I call my voicebox to listen to the messages, there is
one new message available. My phone gets a mwi saying there is 1 new
message for me.

I wonder how the page knows for whom it shall display the voicemails.


it should have prompted you for a user/pass when you hit that page...

-Ray

_______________________________________________
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




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
helmut.kuper at ewetel.de
Guest





PostPosted: Fri Jan 23, 2009 3:18 am    Post subject: [Freeswitch-users] voicemail web interface Reply with quote

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

well, was all my fault ... I was logged in with xml rpc user
(freeswitch/work). Both urls working the same way on my side:
entered in both pages simply extension number + vm-password.

Both pages results in the same output.

Very very impressive stuff Smile

Unfortunately I didn't get the nice flash players playing the messages.
When I click on play button player's title bar changes to "1. undefined"
and browser's status line shows: "Transferring data from ..."

regards
Helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iEYEARECAAYFAkl5fFgACgkQ4tZeNddg3dy+JACgh0tXzvVaFfdErWqqsIJq1q1I
S3kAni8H97R4JRyW4sOEUc7+au8/SRp6
=hqxE
-----END PGP SIGNATURE-----

_______________________________________________
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
helmut.kuper at ewetel.de
Guest





PostPosted: Fri Jan 23, 2009 5:03 am    Post subject: [Freeswitch-users] voicemail web interface Reply with quote

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Update to this: I found that slim.swf only plays mp3 files. wav files,
which I have are ignored without an error message. renaming .wav to .mp3
doesn't help. slim.swf sends only then a http request, when the file to
be loaded has a mp3 suffix.

regards
helmut


Am 23.01.2009 09:14, schrieb Helmut Kuper:
Quote:
Hello,

well, was all my fault ... I was logged in with xml rpc user
(freeswitch/work). Both urls working the same way on my side:
entered in both pages simply extension number + vm-password.

Both pages results in the same output.

Very very impressive stuff Smile

Unfortunately I didn't get the nice flash players playing the messages.
When I click on play button player's title bar changes to "1. undefined"
and browser's status line shows: "Transferring data from ..."

regards
Helmut

_______________________________________________
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


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iEYEARECAAYFAkl5lSQACgkQ4tZeNddg3dxYMgCgnUT8US/c3QzHwRABXMKfSAja
K8wAoJSQKq/nLmX6/Jyp1PurACBpnnI/
=38C/
-----END PGP SIGNATURE-----

_______________________________________________
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
Laurent.Fabre at kirra...
Guest





PostPosted: Fri Jan 23, 2009 6:19 am    Post subject: [Freeswitch-users] voicemail web interface Reply with quote

I was having the same issue Smile I'm glad you found the workaround.

-- Laurent FABRE
Directeur général
10, rue d'Aumale
75009 Paris
Tel: +33.(0)1.42.81.28.20
Mob: +33.(0)6.75.75.02.96
Fax: +33.(0)1.70.24.74.61
laurent.fabre@kirranet.com


-----Message d'origine-----
De : freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] De la part de Helmut Kuper
Envoyé : vendredi 23 janvier 2009 11:00
À : freeswitch-users@lists.freeswitch.org
Objet : Re: [Freeswitch-users] voicemail web interface

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Update to this: I found that slim.swf only plays mp3 files. wav files,
which I have are ignored without an error message. renaming .wav to .mp3
doesn't help. slim.swf sends only then a http request, when the file to
be loaded has a mp3 suffix.

regards
helmut


Am 23.01.2009 09:14, schrieb Helmut Kuper:
Quote:
Hello,

well, was all my fault ... I was logged in with xml rpc user
(freeswitch/work). Both urls working the same way on my side:
entered in both pages simply extension number + vm-password.

Both pages results in the same output.

Very very impressive stuff Smile

Unfortunately I didn't get the nice flash players playing the messages.
When I click on play button player's title bar changes to "1. undefined"
and browser's status line shows: "Transferring data from ..."

regards
Helmut

_______________________________________________
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


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iEYEARECAAYFAkl5lSQACgkQ4tZeNddg3dxYMgCgnUT8US/c3QzHwRABXMKfSAja
K8wAoJSQKq/nLmX6/Jyp1PurACBpnnI/
=38C/
-----END PGP SIGNATURE-----

_______________________________________________
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

_______________________________________________
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
anthony.minessale at g...
Guest





PostPosted: Fri Jan 23, 2009 9:14 am    Post subject: [Freeswitch-users] voicemail web interface Reply with quote

in your voicemail prefs you have to change the format to mp3 to be able to play them on the web interface.

in voicemail.conf.xml
<param name="file-extension" value="mp3"/>

(you must have mod_shout loaded for this option)


You also may have to change the recording rate to 11025
I know you do with gmail's player but try it without this setting first.
<param name="record-sample-rate" value="11025"/>

On Fri, Jan 23, 2009 at 5:22 AM, Laurent Fabre <Laurent.Fabre@kirranet.com (Laurent.Fabre@kirranet.com)> wrote:
Quote:
I was having the same issue Smile I'm glad you found the workaround.

-- Laurent FABRE
Directeur général
10, rue d'Aumale
75009 Paris
Tel: +33.(0)1.42.81.28.20
Mob: +33.(0)6.75.75.02.96
Fax: +33.(0)1.70.24.74.61
laurent.fabre@kirranet.com (laurent.fabre@kirranet.com)


-----Message d'origine-----
De : freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] De la part de Helmut Kuper
Envoyé : vendredi 23 janvier 2009 11:00
À : freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Objet : Re: [Freeswitch-users] voicemail web interface


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Update to this: I found that slim.swf only plays mp3 files. wav files,
which I have are ignored without an error message. renaming .wav to .mp3
doesn't help. slim.swf sends only then a http request, when the file to
be loaded has a mp3 suffix.

regards
helmut


Am 23.01.2009 09:14, schrieb Helmut Kuper:
Quote:
Hello,

well, was all my fault ... I was logged in with xml rpc user
(freeswitch/work). Both urls working the same way on my side:
entered in both pages simply extension number + vm-password.

Both pages results in the same output.

Very very impressive stuff Smile

Unfortunately I didn't get the nice flash players playing the messages.
When I click on play button player's title bar changes to "1. undefined"
and browser's status line shows: "Transferring data from ..."

regards
Helmut

_______________________________________________
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


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iEYEARECAAYFAkl5lSQACgkQ4tZeNddg3dxYMgCgnUT8US/c3QzHwRABXMKfSAja
K8wAoJSQKq/nLmX6/Jyp1PurACBpnnI/
=38C/
-----END PGP SIGNATURE-----

_______________________________________________
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

_______________________________________________
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





--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
helmut.kuper at ewetel.de
Guest





PostPosted: Fri Jan 23, 2009 11:03 am    Post subject: [Freeswitch-users] voicemail web interface Reply with quote

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

yes, I expected that. I enhanced the voicemail code, so it looks for the
file suffix (mp3 or wav) and do a embed tag which calls my quicktime
plugin. I know QT isn't available for linux ... :/

Disadvantage: every voicemail file is loaded when web-voicemail page is
loaded ...

But the hack does the job for me at least for now.


regards
Helmut

Am 23.01.2009 15:00, schrieb Anthony Minessale:
Quote:
in your voicemail prefs you have to change the format to mp3 to be able
to play them on the web interface.

in voicemail.conf.xml
<param name="file-extension" value="mp3"/>

(you must have mod_shout loaded for this option)


You also may have to change the recording rate to 11025
I know you do with gmail's player but try it without this setting first.
<param name="record-sample-rate" value="11025"/>

On Fri, Jan 23, 2009 at 5:22 AM, Laurent Fabre
<Laurent.Fabre@kirranet.com <mailto:Laurent.Fabre@kirranet.com>> wrote:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iEYEARECAAYFAkl56CEACgkQ4tZeNddg3dxs0gCfQeqjk3IX2CXl0M8rjBAYXEsr
0a4AnA0GNYd0CxUjZgW1660mOIwCccgJ
=gMet
-----END PGP SIGNATURE-----

_______________________________________________
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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services