What's the status of this problem from September? I can't find any info - using
sems and ser from CVS 2 weeks ago.
Separate question: when I move the loose-route processing further down in my ser.cfg
(after the lookup(aliases); and if(uri==myself){stuff}; blocks), then my PBX gateway
(multitech MVP130) drops calls after 1 minute as "unsuccessfull" - Multitech
support says that the gateway isn't getting a certain "200 OK" message. I
don't know SIP well enough to know exactly what's up there - has anyone heard of
this, or do I get to find a hub so I can sniff out the traffic going to the MVP130?
Rob
From:Jan Janak jan at
iptel.org
Date: Wed Sep 15 15:28:53 CEST 2004
Subject: [Serdev] tm module and voicemail of sems
Hello,
t_write_req currently does not work voicemail properly because some
parts (to load the email from the dabase) seem to be missing. We will
fix it asap, sorry for the inconvenience.
Jan.
On 15-09 17:09, Zhang Wei wrote:
hello,
My ser does not work well with voicemail of sems. No email address is passed to sems .
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 serv
};
}
---------------------------------------------------------------
and the part debug information of sems is :
------------------------------------------------------------------
(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 at 210.51.11.47>
.
------------------------------------------------------
In source code, t_write_req()-->assemble_msg()-->search_first_avp()
In search_first_avp function of usr_avp.c :
------------------------------------------------------
struct usr_avp *avp;
assert( crt_avps!=0 );
if (*crt_avps==0)
return 0; -------------------->return
----------------------------------------------------------
Why ???