[OpenSER-Users] Openser Transaction State Machine
Henning Westerholt
henning.westerholt at 1und1.de
Mon Apr 28 14:00:11 CEST 2008
On Monday 28 April 2008, Aadilkhan Maniyar wrote:
> We are in the process of evaluating the architecture of OpenSER for a
> local deployment. For this purpose I was looking at the State Machine
> implemented in OpenSER.
> More specifically I am looking at the state machine related to the
> INVITE transaction.
>
> In order to know the State machine, what files do I have to look at? Can
> anyone please guide me.
>
> Has the state machine been documented at some place, so that I can read
> about it?
Hello Aadilkhan,
i don't know what exactly do you mean with 'state machine'. You need to
implement your handling of SIP messages in the config script. There is no
pre-defined handling for example for INVITE messages.
The server core does not that much about the handling of SIP messages, most of
the logic is implemented in modules. For the transactional logic take a look
at the source code of the 'tm' module. There exists also a module to
implement dialog awareness, thus the source code of 'dialog' could also be
interesting for you.
To get an idea about the mechanism of the config script, just take a look at
the default configuration that is shipped with the server.
Cheers,
Henning
More information about the sr-users
mailing list