[OpenSIPS-Devel] [ opensips-Bugs-2857571 ] b2bua and script routes execution.
SourceForge.net
noreply at sourceforge.net
Wed Sep 16 16:30:25 CEST 2009
Bugs item #2857571, was opened at 2009-09-12 19:00
Message generated for change (Settings changed) made by anca_vamanu
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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Sergey Okhapkin (sokhapkin)
Assigned to: Anca Vamanu (anca_vamanu)
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.
----------------------------------------------------------------------
>Comment By: Anca Vamanu (anca_vamanu)
Date: 2009-09-16 17:30
Message:
Hi Sergey,
I have added the possibility to have special routes for received B2B
requests and replies. You have to define the name of the routes as module
parameters for module b2b_entities and then define the routes with that
name, They will be called when requests or replies are received.
regards,
Anca
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2857571&group_id=232389
More information about the Devel
mailing list