spec file for el/fedora synced with build server
fix init script for el to run opensips as user opensips
This patch implements several fixes to the SST module:

 - Fixed things when only one peer supports Session-Timers.
 - Fixed timer removal when both peers do not support Session-Timers and a
   timer was fired at some point.
 - Fixed Session-Timers usage in case of re-INVITES.
 - Allow the proxy to negotiate a lower Session-Expires value if configured
   to do so.
Fixed SST timer being reset to the lowest value on session refresh.
Trigger exactly one callback per early state change.

There are several reasons behind this change:
1) Other callbacks are only triggered once for each state change.
2) SNOM phones send several 180 Ringing messages in a row. That triggers
several early dialog callbacks, which in turn trigger several PUBLISH
and NOTIFY through the pua_dialoginfo module. This can potentially lead
to problems.
fixed compile errors introduced by previous commit
Improved PUA DialogInfo.

Several fixes here:
  - Dialog callbacks are now correctly setup after a restart of
    OpenSIPS. In other words, restarting OpenSIPS will not lead to ghost BLFs
    anymore.
  - Added an option allowing not to publish state change in case of reINVITE.
  - Added an option allowing not to publish state change in trying state.
    In other words, a PUBLISH will be sent only when OpenSIPS has received a
    18x response type and not before.
Fixed goes_to_gw, is_from_gw and dr_is_gw so that they accept negative
gateway types ( to match all gw types)
(cherry picked from commit 3bfd505b72d46ea31930efe31b52e3bd5ea477de)
Properly mentioned Steve Frécinaux from Be IP as the module creator
(cherry picked from commit 8f642bab2a47f29c2984f286279f5be4d0d5815a)
Cleanup menucnfig files when doing make proper
(cherry picked from commit 4d4d3dbefc084db00c122e499b9299240ed6e0d5)
Merge pull request #27 from nikbyte/1.9

Spec file for el/fedora synced with build server

Credits go to Nick Altman, official maintainer of OpenSIPS YUM repository.
PUBLISH requests are now handled in the same order than received.

That is specifically useful for pua dialoginfo which was generating dialog
info notifications that were handled in the wrong order with that patch.
PUBLISH with older documents were sometimes treated after PUBLISH requests
with newer documents, leading to incoherent states.
Added documentation for recent changes.
fixed setting the default min_expires and max_expires module parameters.
Credits go to MayamaTakeshi.
parallel compilation

speedup compilation on multicore/multicpu machines(cherry picked from commit 33134feaa38a9fb376dea97eb7711cdd5aced758)
pike: correct spelling
(cherry picked from commit 879eacbb5e2f90f1dba2f9b23165e725a5c754d4)