Looking into sources of sems, "Loop detected" message probably means that sems got the same INVITE twice. ngrep message dumps would help a lot -- especially the communication between routing ser and sems ser.
Jan.
On 16-12 17:03, Gavin Bensom wrote:
Hello All,
First, I created subtle problems in SER by having an alias entry for the host ip in the ser.cfg file.
I don't recommend doing the following [where 10.10.10.49 is the ip of the host where SER is running].
alias=10.10.10.49
Next, I've had similar problems to a user who posted recently about SEMS being unstable. Occassionally it just stops playing the greeting, however, even if the greeting doesn't play, SEMS will still record audio. Overall, I've had a lot of frustration with SEMS.
Attached is my ser.cfg file and some error messages from syslog.
Here is a scenario which is causing problems with voicemail.
User sip:info@mydomain.com is not logged in anywhere, however that user has calls being forwarded to sip:mvestal@mydomain.com and sip:esavelle@mydomain.com.
The location table shows these entries correctly. In addition, mvestal and esavelle are also in the location table at specific ip addresses.
When a call come in for sip:info@mydomain.com, it gets forked propery. However, if no one answers the call before the fr_inv_timer expires, SER tries to hand the call off to VMSER [second instance of SER which is running on port 5090 and is handling voicemail] but the error messages in the attached logs show up. The calling party typically hears ringing continue after SER had timed out, and then gets a busy tone a few seconds later.
I'm also going to try Asterisk. There is a specific feature of Asterisk which I think would benefit SER/SEMS a lot.
We will set up Asterisk so that we do and append_branch(); in SER as soon as a call is initiated to an internal extension. Asterisk can then be set to wait a certain amount of time before it answers the call. This way, the fr_inv_time feature of SER isn't necessary for getting calls into voicemail [SEMS or Asterisk.]
Also, it is very nice to be able to use a phone to check voicemail. No all users are necessarily sitting on their email inboxes all day long.
Any help on the bug would be greatly appreciated.
Noah
Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing
Content-Description: ser-errors-20031216.txt
Dec 16 16:14:02 jiffypop /usr/local/sbin/ser[24298]: ACC: call missed: from=sip:4083709675@10.10.10.5;tag=4979781C-1816, i-uri= sip:esavelle@mydomain.com, method=INVITE, o-uri=sip:esavelle@10.10.10.167:5060, code=408 Request Timeout Dec 16 16:14:02 jiffypop /usr/local/sbin/ser[24298]: failure_route[4] Dec 16 16:14:02 jiffypop /usr/local/sbin/ser[24298]: route[4]:call failed: forward to voicemail Dec 16 16:14:02 jiffypop /usr/local/sbin/ser[24298]: ACC: call missed: from=sip:4083709675@10.10.10.5;tag=4979781C-1816, i-uri= sip:mvestal@mydomain.com, method=INVITE, o-uri=sip:mvestal@10.10.10.98:5060, code=408 Request Timeout Dec 16 16:14:02 jiffypop /usr/local/sbin/ser[24298]: failure_route[4] Dec 16 16:14:02 jiffypop /usr/local/sbin/ser[24242]: ERROR: t_should_relay: status rewrite by UAS: stored: 408, received: 487 Dec 16 16:14:02 jiffypop /usr/local/sbin/ser[24229]: ACC: request acknowledged: from=sip:4083709675@10.10.10.5;tag=4979781C-181 6, i-uri=sip:esavelle@mydomain.com, method=ACK, o-uri=sip:esavelle@10.10.10.167:5060, code=180 Dec 16 16:14:02 jiffypop /usr/local/sbin/ser[24298]: route[4]:call failed: forward to voicemail Dec 16 16:14:02 jiffypop /usr/local/sbin/ser[24298]: ACC: call missed: from=sip:4083709675@10.10.10.5;tag=4979781C-1816, i-uri= sip:6600@10.10.10.49:5060, method=INVITE, o-uri=sip:mvestal@mydomain.com, code=408 Request Timeout Dec 16 16:14:02 jiffypop /usr/local/sbin/vmser[29524]: t_newtran created Dec 16 16:14:02 jiffypop /usr/local/sbin/vmser[29524]: **************** vm start - begin ****************** Dec 16 16:14:02 jiffypop /usr/local/sbin/vmser[29523]: t_newtran created Dec 16 16:14:02 jiffypop /usr/local/sbin/vmser[29523]: **************** vm start - begin ****************** Dec 16 16:14:02 jiffypop /usr/local/sbin/vmser[29524]: **************** vm start - end ****************** Dec 16 16:14:02 jiffypop /usr/local/sbin/vmser[29523]: **************** vm start - end ****************** Dec 16 16:14:02 jiffypop Sems[19578]: Error: 482 Loop detected Dec 16 16:14:41 jiffypop /usr/local/sbin/ser[24240]: ACC: transaction answered: from="bkern" sip:bkern@mydomain.com;tag=9f5e9 214-b2f7-404c-a109-e20502c672c7, i-uri=sip:fchuang@mydomain.com, method=SUBSCRIBE, o-uri=sip:10.10.10.192:13584, code=200 Dec 16 16:14:49 jiffypop /usr/local/sbin/ser[24298]: ACC: call missed: from=sip:4083709725@10.10.10.5;tag=497A2F34-544, i-uri=s ip:mvestal@mydomain.com, method=INVITE, o-uri=sip:mvestal@10.10.10.98:5060, code=408 Request Timeout Dec 16 16:14:49 jiffypop /usr/local/sbin/ser[24298]: failure_route[4] Dec 16 16:14:49 jiffypop /usr/local/sbin/ser[24298]: route[4]:call failed: forward to voicemail Dec 16 16:14:49 jiffypop /usr/local/sbin/ser[24298]: ACC: call missed: from=sip:4083709725@10.10.10.5;tag=497A2F34-544, i-uri=s ip:esavelle@mydomain.com, method=INVITE, o-uri=sip:esavelle@10.10.10.167:5060, code=408 Request Timeout Dec 16 16:14:49 jiffypop /usr/local/sbin/ser[24298]: failure_route[4] Dec 16 16:14:49 jiffypop /usr/local/sbin/ser[24231]: ERROR: t_should_relay: status rewrite by UAS: stored: 408, received: 487 Dec 16 16:14:49 jiffypop /usr/local/sbin/ser[24229]: ACC: request acknowledged: from=sip:4083709725@10.10.10.5;tag=497A2F34-544 , i-uri=sip:mvestal@mydomain.com, method=ACK, o-uri=sip:mvestal@10.10.10.98:5060, code=180 Dec 16 16:14:49 jiffypop /usr/local/sbin/ser[24298]: route[4]:call failed: forward to voicemail Dec 16 16:14:49 jiffypop /usr/local/sbin/ser[24298]: ACC: call missed: from=sip:4083709725@10.10.10.5;tag=497A2F34-544, i-uri=s ip:6600@10.10.10.49:5060, method=INVITE, o-uri=sip:mvestal@mydomain.com, code=408 Request Timeout Dec 16 16:14:49 jiffypop /usr/local/sbin/vmser[29524]: t_newtran created Dec 16 16:14:49 jiffypop /usr/local/sbin/vmser[29524]: **************** vm start - begin ****************** Dec 16 16:14:49 jiffypop /usr/local/sbin/vmser[29523]: t_newtran created Dec 16 16:14:49 jiffypop /usr/local/sbin/vmser[29523]: **************** vm start - begin ****************** Dec 16 16:14:49 jiffypop /usr/local/sbin/vmser[29524]: **************** vm start - end ****************** Dec 16 16:14:49 jiffypop /usr/local/sbin/vmser[29523]: **************** vm start - end ****************** Dec 16 16:14:49 jiffypop Sems[19578]: Error: 482 Loop detected Dec 16 16:15:10 jiffypop /usr/local/sbin/ser[24298]: ACC: call missed: from=sip:5107392224@10.10.10.5;tag=497A8154-2635, i-uri= sip:6611@10.10.10.49:5060, method=INVITE, o-uri=sip:service@10.10.10.242:5060, code=408 Request Timeout Dec 16 16:15:10 jiffypop /usr/local/sbin/ser[24298]: failure_route[4] Dec 16 16:15:10 jiffypop /usr/local/sbin/ser[24298]: route[4]:call failed: forward to voicemail Dec 16 16:15:10 jiffypop /usr/local/sbin/ser[24233]: ERROR: t_should_relay: status rewrite by UAS: stored: 408, received: 487 Dec 16 16:15:10 jiffypop /usr/local/sbin/vmser[29524]: t_newtran created Dec 16 16:15:10 jiffypop /usr/local/sbin/vmser[29524]: **************** vm start - begin ****************** Dec 16 16:15:10 jiffypop /usr/local/sbin/vmser[29524]: **************** vm start - end ****************** Dec 16 16:15:18 jiffypop /usr/local/sbin/vmser[29523]: t_newtran created Dec 16 16:15:18 jiffypop /usr/local/sbin/vmser[29523]: **************** vm end - begin ****************** Dec 16 16:15:18 jiffypop /usr/local/sbin/vmser[29523]: **************** vm end - end ****************** Dec 16 16:15:28 jiffypop /usr/local/sbin/ser[24298]: ACC: call missed: from=sip:4083709675@10.10.10.5;tag=497AC670-18B, i-uri=s ip:mvestal@mydomain.com, method=INVITE, o-uri=sip:mvestal@10.10.10.98:5060, code=408 Request Timeout Dec 16 16:15:28 jiffypop /usr/local/sbin/ser[24298]: failure_route[4] Dec 16 16:15:28 jiffypop /usr/local/sbin/ser[24298]: route[4]:call failed: forward to voicemail Dec 16 16:15:28 jiffypop /usr/local/sbin/ser[24298]: ACC: call missed: from=sip:4083709675@10.10.10.5;tag=497AC670-18B, i-uri=s ip:esavelle@mydomain.com, method=INVITE, o-uri=sip:esavelle@10.10.10.167:5060, code=408 Request Timeout Dec 16 16:15:28 jiffypop /usr/local/sbin/ser[24298]: failure_route[4] Dec 16 16:15:28 jiffypop /usr/local/sbin/ser[24240]: ERROR: t_should_relay: status rewrite by UAS: stored: 408, received: 487 Dec 16 16:15:28 jiffypop /usr/local/sbin/ser[24229]: ACC: request acknowledged: from=sip:4083709675@10.10.10.5;tag=497AC670-18B , i-uri=sip:mvestal@mydomain.com, method=ACK, o-uri=sip:mvestal@10.10.10.98:5060, code=180 Dec 16 16:15:28 jiffypop /usr/local/sbin/ser[24298]: route[4]:call failed: forward to voicemail Dec 16 16:15:28 jiffypop /usr/local/sbin/ser[24298]: ACC: call missed: from=sip:4083709675@10.10.10.5;tag=497AC670-18B, i-uri=s ip:6600@10.10.10.49:5060, method=INVITE, o-uri=sip:mvestal@mydomain.com, code=408 Request Timeout Dec 16 16:15:28 jiffypop /usr/local/sbin/vmser[29524]: t_newtran created Dec 16 16:15:28 jiffypop /usr/local/sbin/vmser[29524]: **************** vm start - begin ****************** Dec 16 16:15:28 jiffypop /usr/local/sbin/vmser[29525]: t_newtran created Dec 16 16:15:28 jiffypop /usr/local/sbin/vmser[29525]: **************** vm start - begin ****************** Dec 16 16:15:28 jiffypop /usr/local/sbin/vmser[29524]: **************** vm start - end ****************** Dec 16 16:15:28 jiffypop /usr/local/sbin/vmser[29525]: **************** vm start - end ****************** Dec 16 16:15:28 jiffypop Sems[19578]: Error: 482 Loop detected Dec 16 16:15:31 jiffypop Sems[19578]: Error: while getting return code from Ser
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers