[ opensips-Bugs-2857571 ] b2bua and script routes execution.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ opensips-Bugs-2857571 ] b2bua and script routes execution.

SourceForge.net
Bugs item #2857571, was opened at 2009-09-12 12:00
Message generated for change (Tracker Item Submitted) made by sokhapkin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2857571&group_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: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Sergey Okhapkin (sokhapkin)
Assigned to: Nobody/Anonymous (nobody)
Summary: b2bua and script routes execution.

Initial Comment:
This is not a bug, but enchancement request. I use script routes to log SIP messages running back and forth. in main route I have xlog("L_INFO","SIP message from $proto:$si:$sp\n$mb\n"); , in onreply_route - xlog("L_INFO","incoming reply from $si:$sp\n$mb\n"); , in local_route - xlog("L_INFO","Sending to $du\n$mb\n"); . But when b2bua is enabled not all SIP messages are logged. Incoming in-dialog messages from UAC are not logged in main routing block because b2b_prescript_f returns 0 and main route is not executed. Also CANCEL message from b2bua client to upstream is not logged in local route (the route is not executed). It would be nice to have a way to log ALL SIP messages from opensips.cfg.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2857571&group_id=232389

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel