[Freeswitch-users] always got 0 messages when retrieving voicemail from web

dujinfang dujinfang at gmail.com
Tue Jun 2 07:27:00 PDT 2009


Hi,

I always got 0 messages when using web. Finally I added some debug  
information in the code and get this:

2009-06-02 22:20:51 [INFO] mod_voicemail.c:3883  
voicemail_api_function() port:[8080]
2009-06-02 22:20:51 [INFO] mod_voicemail.c:3884  
voicemail_api_function() uri:[/domains/192.168.1.16/api/voicemail]
2009-06-02 22:20:51 [INFO] mod_voicemail.c:3885  
voicemail_api_function() user:[]
2009-06-02 22:20:51 [INFO] mod_voicemail.c:3886  
voicemail_api_function() domain:[192.168.1.16]
2009-06-02 22:20:51 [INFO] mod_voicemail.c:3887  
voicemail_api_function() path_info:[web]

It seems the freeswitch-user header not set by xml_rpc  and user =  
switch_event_get_header(stream->param_event, "freeswitch-user");  
cannot get the user. Any idea?

Thanks.




More information about the FreeSWITCH-users mailing list