Aisling,
The CANCEL will have a to_tag and be caught by the loose_route test and
t_relayed. You will have to have the CANELtest and set the flag somwhere there
as well.
g-)
----------------------------------------------------------------------
Hi,
Sorry for re-posting but I am still stuck with the following:
1)
I have modified my ser.cfg (based on ser 0.9.0 onsip getting
started
document) for missed calls based on example from the
Terena IP
Telephony Cookbook. I get an error with the line:
acc_request("404 Not Found");
parse error - unknown
command, missing loadmodule?
Even though I have loaded the acc.so and tm.so
modules and used
modparam("acc", "log_missed_flag", 3);
2)
Besides that when I comment the above out, I am under the
impression
that if a user 314 rings user 2092 and hangs up before user
2092
answers i.e. sending a CANCEL message - an entry for this should
now
be in the "missed_calls" table fo the ser database....Is
this
correct?...I tested this scenario and the table was still
empty.
Could someone explain what I am missing?
Many thanks (relevant part of ser.cfg included below)
Aisling.
//ser.cfg
# native SIP destinations are handled using our USRLOC
DB
if (!lookup("location")) {
#sl_send_reply("404", "Not
Found");
#break;
#new entered 20/07/05
#call invitations to off-line
users are reported using
#the acc_request action; to avoid
#duplicate
reports on request retransmissions, request
# is processed statefully
(t_newtran, t_reply)
if ((method=="INVITE" || method=="ACK") &&
t_newtran()){
t_reply("404", "Not Found");
#acc_request("404 Not
Found");
break;
};
#all other requests to off-line users are simply
#replied statelessly and no reports are issued
sl_send_reply("404", "Not
Found");
break;
}
else
{
#user on-line; report on failed
transactions;
#mark the transaction for reporting using the same
#number
as configured above; if the call is really missed,
# a report will be
issued
setflag(3);
#forward to the users current
destination
t_relay();
break;
};
};
route(1);
}
-------------------Legal
Disclaimer---------------------------------------
The above electronic mail transmission is confidential and intended only
for the person to whom it is addressed. Its contents may be protected by legal
and/or professional privilege. Should it be received by you in error please
contact the sender at the above quoted email address. Any unauthorised form of
reproduction of this message is strictly prohibited. The Institute does not
guarantee the security of any information electronically transmitted and is not
liable if the information contained in this communication is not a proper and
complete record of the message as transmitted by the sender nor for any delay in
its receipt.
-------------- next part --------------
An HTML attachment
was scrubbed...
URL:
/pipermail/serusers/attachments/20050726/de343a84/attachment.html
Previous message: [Serusers] ACK problems