< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index | Next in Thread > |
Hi,Thanks for the quick replies guys :).I'm thinking it would make sense to have the API support it. I'll give it some more thoughts but we could have a UserDefined reason in the enum that would end up using a dedicated user string rather than the compiled-in ones.The workaround is a good one since it doesn't get too much in the way (code wise), but it ends up eating a little more CPU cycles on all INVITE-related outgoing messages (which I would like to avoid).Regards,FrancisOn Wed, Mar 2, 2011 at 1:22 PM, Aron Rosenberg <arosenberg@xxxxxxxxxxxx> wrote:
virtual void onReadyToSend(resip::InviteSessionHandle ish, resip::SipMessage &m){if(m.header(h_RequestLine).getMethod()==resip::BYE))m.header(h_Reasons).push_back("blahblah");}On Wed, Mar 2, 2011 at 9:49 AM, Francis Joanis <francis.joanis@xxxxxxxxx> wrote:
Hi again,Is there a way in DUM to have a user-specified reason when ending an InviteSession? It looks like all the reasons have to be hard defined in the code (EndReasons).Thanks a lot,Francis_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
Attachment:
user_end_reason.diff
Description: Binary data