[Serdev] Ser Coding Problem
Broch, Andreas
abroch at FTW.at
Tue Sep 20 10:11:26 UTC 2005
Dear Developers,
We have the following Problem:
We like to implement a stateful forwarding for all Messages after
REGISTER ( in our testbed especially INVITE;BYE and other mandatory
messages ).
For that Purpose, we are adding a Path Header in the REGISTER
Request/Message.
We need the S-CSCF to save all necessary Values to create the Path
Vector , and save it to the Ser database.
Then the S-CSCF should insert ,Path, supported, Contact and the To
Header from Register ( as For ) to the 200 OK Response after successful
authorization.
The S-CSCF generate the 200 OK Response automatically with
save(location);
We are actually using Ser 0.8.14.
My most important questions at the Moment are:
->How, can we add the Headers to the Response , BEFORE the message is
forwarded to the I-CSCF
We tried to implement the header adding on two different ways, but both
didn't work
1. ) we insert a if(status=~200) after save(location) directly
2. ) t_on_reply( ) after save location, and onreply_route outside
the main route block.
In both solution the ser didn't enter the part were the headers
should be added.
-> What options do we have to save the Path Header value to database
- Can we use the exec( ) function for that purpose ?
- Is it also possible to implement SQL Commands directly, or are there
predefined functions to save non-standard Header ?
-> Are there any Functions / Modules to access the Message Header( also
the non standard Header ) through Variables
directly ?
-> Are there any additional Modules or Functions in ser_0_9_0 which can
support/help us to solve these problems
Best Regards
Andreas Broch
FTW( = Research Lab for Telecommunication Vienna )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.iptel.org/pipermail/serdev/attachments/20050920/1cc94dc6/attachment.html
More information about the Serdev
mailing list