[OpenSER-Devel] [ openser-Feature Requests-1591247 ] Named routes and flags
SourceForge.net
noreply at sourceforge.net
Wed Jan 16 10:47:44 UTC 2008
Feature Requests item #1591247, was opened at 2006-11-06 09:41
Message generated for change (Comment added) made by henningw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1591247&group_id=139143
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: core
Group: None
>Status: Closed
Resolution: None
Priority: 1
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Henning Westerholt (henningw)
Summary: Named routes and flags
Initial Comment:
In the latest SER, it's possible to have named routes,
it would be nice to see the same functionality in
OpenSER as well.
For example
route {
if (loose_route) {
# blabla
}
if (METHOD == INVITE) {
route("invite.handler");
}
}
route["invite.handler"] {
# bla bla bla bla
if (from_uri =~ "1.3.3.7") {
setflag("eliteUser");
}
}
This makes the code a lot easier to read, especially
when you have some real large configurations.
----------------------------------------------------------------------
>Comment By: Henning Westerholt (henningw)
Date: 2008-01-16 10:47
Message:
Logged In: YES
user_id=337916
Originator: NO
Could be achieved with external tools, no response from original reporter
after one year..
Close the request.
Henning
----------------------------------------------------------------------
Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2006-11-13 17:04
Message:
Logged In: YES
user_id=1275325
Hi,
personally I do not think this is a feature to be actually
placed in OpenSER. You are right, it is much, much easier to
have named flaged, routes, etc, but you can easyly achive
this now, with no changes in OpenSER, by using the M4 text
processor on your script.
See http://www.openser.org/docs/scripting.html
regards,
bogdan
----------------------------------------------------------------------
Comment By: vabdulla (vabdulla)
Date: 2006-11-12 20:06
Message:
Logged In: YES
user_id=1580175
Hello,
Did you saw the scripting tutorial on openser.org:
http://openser.org/docs/scripting.html ?
It explains how to achieve this exact goal with simple m4
macros.
I am doing so and it really eases the script writing task...
-vma
.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1591247&group_id=139143
More information about the Devel
mailing list