|
@@ -493,11 +493,12 @@ route[3] {
|
|
|
route[4] {
|
|
|
# user not found -- act as stateful UAS to avoid reporting
|
|
|
# on each INVITE retranmission
|
|
|
- if (method=="INVITE" || method=="ACK" || method=="BYE") {
|
|
|
+ if (method=="INVITE" || method=="ACK"
|
|
|
+ || method=="BYE" || method=="CANCEL" ) {
|
|
|
|
|
|
/* requests to voicemail users will be fwded to voicemail */
|
|
|
if (isflagset(4)) {
|
|
|
- rewritehostport("mail.iptel.org:5060");
|
|
|
+ rewritehostport("mail.iptel.org:6060");
|
|
|
append_hf("P-hint: OFFLINE-VOICEMAIL\r\n");
|
|
|
if (!t_relay()) {
|
|
|
sl_reply_error();
|
|
@@ -534,6 +535,6 @@ route[4] {
|
|
|
reply_route[1] {
|
|
|
/* XX: note: unsafe if preloaded routes without username used */
|
|
|
revert_uri();
|
|
|
- rewritehostport("mail.iptel.org:5060");
|
|
|
+ rewritehostport("mail.iptel.org:6060");
|
|
|
append_branch();
|
|
|
}
|