[OpenSIPS-Devel] [ opensips-Patches-3565679 ] [acc] Failure Route Changes

2013-01-28 Thread SourceForge . net
Patches item #3565679, was opened at 2012-09-07 16:39
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086412aid=3565679group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.8.x
Status: Open
Resolution: Invalid
Priority: 5
Private: No
Submitted By: David Sanders (dmsanders)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: [acc] Failure Route Changes

Initial Comment:
At the moment the ACC module will log a failed call after any set 
onreply_route, but before a failure_route.

The attached patch is a simple change to the TM callback registered for by 
on_missed so that the callback fires after the failure_route, allowing any 
changes made in the failure_route to show up in the logged call.

Patch has been tested and worked as expected, however, I'm not positive that I 
haven't overlooked some other side-effect of the change.

--

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2013-01-28 05:36

Message:
Hi David,

There is something weird in the patch :
1) you changed from TMCB_ON_FAILURE to TMCB_ON_FAILURE_RO only in the
callback function, but not where callback is registered too.
2) the TMCB_ON_FAILURE_RO callback is obsoleted  in TM and never trigger
..

Are you sure you attached the right patch ?

Regards,
Bogdan

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086412aid=3565679group_id=232389

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [ opensips-Patches-3565679 ] [acc] Failure Route Changes

2013-01-28 Thread SourceForge . net
Patches item #3565679, was opened at 2012-09-07 16:39
Message generated for change (Comment added) made by dmsanders
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086412aid=3565679group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.8.x
Status: Open
Resolution: Invalid
Priority: 5
Private: No
Submitted By: David Sanders (dmsanders)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: [acc] Failure Route Changes

Initial Comment:
At the moment the ACC module will log a failed call after any set 
onreply_route, but before a failure_route.

The attached patch is a simple change to the TM callback registered for by 
on_missed so that the callback fires after the failure_route, allowing any 
changes made in the failure_route to show up in the logged call.

Patch has been tested and worked as expected, however, I'm not positive that I 
haven't overlooked some other side-effect of the change.

--

Comment By: David Sanders (dmsanders)
Date: 2013-01-28 13:55

Message:
Hi Bogdan,

Strange...this patch does look wrong. However, it was long enough ago that
I don't remember my thought process. :)

Seemed to work at the time, although now I don't know how that's possible.

Can you remove TMCB_ON_FAILURE_RO from t_hooks.h/c since it is obsolete?

- David

--

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2013-01-28 05:36

Message:
Hi David,

There is something weird in the patch :
1) you changed from TMCB_ON_FAILURE to TMCB_ON_FAILURE_RO only in the
callback function, but not where callback is registered too.
2) the TMCB_ON_FAILURE_RO callback is obsoleted  in TM and never trigger
..

Are you sure you attached the right patch ?

Regards,
Bogdan

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086412aid=3565679group_id=232389

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [ opensips-Patches-3565679 ] [acc] Failure Route Changes

2013-01-22 Thread SourceForge . net
Patches item #3565679, was opened at 2012-09-07 16:39
Message generated for change (Settings changed) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086412aid=3565679group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.8.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: David Sanders (dmsanders)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: [acc] Failure Route Changes

Initial Comment:
At the moment the ACC module will log a failed call after any set 
onreply_route, but before a failure_route.

The attached patch is a simple change to the TM callback registered for by 
on_missed so that the callback fires after the failure_route, allowing any 
changes made in the failure_route to show up in the logged call.

Patch has been tested and worked as expected, however, I'm not positive that I 
haven't overlooked some other side-effect of the change.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086412aid=3565679group_id=232389

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel