H
* SIP <sip(a)arcdiv.com> [071105 19:24]:
We've been looking recently at RFC 3326 (Reason
header fields for SIP)
primarily to help with logging in some of our UAs. While I know that SER
can essentially tack on any header anywhere, I'm wondering if anyone's
come up with a solution for handling something like the Call Completed
Elsewhere reason tag:
Reason: SIP ;cause=200 ;text="Call completed elsewhere"
Essentially, this would be sent in a CANCEL message to all clients that
did NOT pick up the SIP call. Since SER forks off a separate INVITE to
any contact in the location table matching the intended recipient, it
would be nice to fire off a reason for a cancel to some UAs which would
then know not to bother logging a call as 'missed' in the case of
another phone picking it up.
I'm sure there's a way to hack this using the current functionality (or
if not, a slight modification of current functionality), but if anyone's
done it and has a code snippet, that would make life easier.
Never tried this.. but what about trying to do this in branch route?
if(method=="cancel"){
append_hf("Reason:;cause=200;Text=howdyHowHow");
}
As said,, never tried this..and I dont even know if this will work, can
work etc.. but worth a shoot in the testrig ;)
- Atle>
N.
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers