hello,
Today I download the latest version of sems on CVS .The
announcement module works well now .But there is still some error in Voicemail
.I think that there is some error in my ser.cfg
The debug information of sems is as the
following:
(21112) DEBUG: execute (AmServer.cpp:226): cmd.method=
<INVITE>
(21112) DEBUG: execute (AmServer.cpp:227): cmd.user=
<zhangwei>
(21112) DEBUG: execute (AmServer.cpp:228): cmd.email= <>
......
(21112) DEBUG: execute (AmServer.cpp:276): everything is OK
!
(21112) ERROR: startSession (AmSession.cpp:458): 404 voicemail: no email
address for user <zhangwei>
(21112) DEBUG: sendToFIFO
(AmRequest.cpp:230): msg=<:t_reply:0000527827DE965E
404
voicemail: no email
address for user
<zhangwei>
5491:1720953846
000052782F008C5D
Contact:
<sip:zhangwei@210.51.11.47>
.
.
>
In ser.cfg I wrote:
if( is_user_in("Request-URI",
"voicemail")){
log(1, "yes,incoming voicemail
call\n");
if(!t_write_req("/tmp/am_fifo","voicemail")){
log("could not contact voicemail
server\n");
t_reply("500","could not contact voicemail
server");
};
}
Thanks!