Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] voicemail webapi returns 403 Forbidden


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
dujinfang at gmail.com
Guest





PostPosted: Thu May 07, 2009 5:13 am    Post subject: [Freeswitch-users] voicemail webapi returns 403 Forbidden Reply with quote

I loaded mod_xml_rpc on trunk version 13174, to get voicemail, I go to

http://192.168.1.27:8080/api/voicemail/web

in the challenge box, no matter I input 1009, 1009@192.168.1.27,
1009@localhost, 1009@default, I got Error 403.

However I use freeswitch/works can get the voicemail interface. but
shows 0 messages. However there should be some message.

What's wrong of me? it's almost the default config. Thanks.

sh-3.2# find storage/
storage/
storage//voicemail
storage//voicemail/default
storage//voicemail/default/192.168.1.27
storage//voicemail/default/192.168.1.27/1001
storage//voicemail/default/192.168.1.27/1001/
msg_fb314198-7ff8-48a5-957e-cd75885b34ac.wav
storage//voicemail/default/192.168.1.27/1008
storage//voicemail/default/192.168.1.27/1009
storage//voicemail/default/192.168.1.27/1009/msg_d5c93a31-0765-41c9-
b4e4-ba3493bb5dc5.wav

sqlite> select * from voicemail_msgs;
1240973763|1241405588|1009|192.168.1.27|9e5decb2-bb4a-4287-b85f-
ddb935878944|Extension 1001|1001|inbox|/usr/local/fs-090428/storage/
voicemail/default/192.168.1.27/1009/msg_d5c93a31-0765-41c9-b4e4-
ba3493bb5dc5.wav|15|save|A_URGENT



_______________________________________________
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 May 07, 2009 7:10 am    Post subject: [Freeswitch-users] voicemail webapi returns 403 Forbidden Reply with quote

<param name="http-allowed-api" value="voicemail"/>

in the <params> inside <user> or <domain>

On Thu, May 7, 2009 at 5:12 AM, seven <dujinfang@gmail.com (dujinfang@gmail.com)> wrote:
Quote:
I loaded mod_xml_rpc on trunk version 13174, to get voicemail, I go to

http://192.168.1.27:8080/api/voicemail/web

in the challenge box, no matter I input 1009, 1009@192.168.1.27 (1009@192.168.1.27),
1009@localhost, 1009@default, I got Error 403.

However I use freeswitch/works can get the voicemail interface. but
shows 0 messages. However there should be some message.

What's wrong of me? it's almost the default config. Thanks.

sh-3.2# find storage/
storage/
storage//voicemail
storage//voicemail/default
storage//voicemail/default/192.168.1.27
storage//voicemail/default/192.168.1.27/1001
storage//voicemail/default/192.168.1.27/1001/
msg_fb314198-7ff8-48a5-957e-cd75885b34ac.wav
storage//voicemail/default/192.168.1.27/1008
storage//voicemail/default/192.168.1.27/1009
storage//voicemail/default/192.168.1.27/1009/msg_d5c93a31-0765-41c9-
b4e4-ba3493bb5dc5.wav

sqlite> select * from voicemail_msgs;
1240973763|1241405588|1009|192.168.1.27|9e5decb2-bb4a-4287-b85f-
ddb935878944|Extension 1001|1001|inbox|/usr/local/fs-090428/storage/
voicemail/default/192.168.1.27/1009/msg_d5c93a31-0765-41c9-b4e4-
ba3493bb5dc5.wav|15|save|A_URGENT



_______________________________________________
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
dujinfang at gmail.com
Guest





PostPosted: Thu May 07, 2009 9:43 pm    Post subject: [Freeswitch-users] voicemail webapi returns 403 Forbidden Reply with quote

It works. Thanks.

But when I click the flash "Play", it shows undefined. When I click download, it shows another challenge box where I had to input the same user/pass. Is that a problem?



On May 7, 2009, at 8:09 PM, Anthony Minessale wrote:
Quote:
<param name="http-allowed-api" value="voicemail"/>

in the <params> inside <user> or <domain>

On Thu, May 7, 2009 at 5:12 AM, seven <dujinfang@gmail.com (dujinfang@gmail.com)> wrote:
Quote:
I loaded mod_xml_rpc on trunk version 13174, to get voicemail, I go to

http://192.168.1.27:8080/api/voicemail/web

in the challenge box, no matter I input 1009, 1009@192.168.1.27 (1009@192.168.1.27),
1009@localhost, 1009@default, I got Error 403.

However I use freeswitch/works can get the voicemail interface. but
shows 0 messages. However there should be some message.

What's wrong of me? it's almost the default config. Thanks.

sh-3.2# find storage/
storage/
storage//voicemail
storage//voicemail/default
storage//voicemail/default/192.168.1.27
storage//voicemail/default/192.168.1.27/1001
storage//voicemail/default/192.168.1.27/1001/
msg_fb314198-7ff8-48a5-957e-cd75885b34ac.wav
storage//voicemail/default/192.168.1.27/1008
storage//voicemail/default/192.168.1.27/1009
storage//voicemail/default/192.168.1.27/1009/msg_d5c93a31-0765-41c9-
b4e4-ba3493bb5dc5.wav

sqlite> select * from voicemail_msgs;
1240973763|1241405588|1009|192.168.1.27|9e5decb2-bb4a-4287-b85f-
ddb935878944|Extension 1001|1001|inbox|/usr/local/fs-090428/storage/
voicemail/default/192.168.1.27/1009/msg_d5c93a31-0765-41c9-b4e4-
ba3493bb5dc5.wav|15|save|A_URGENT



_______________________________________________
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
_______________________________________________
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
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