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.
[usrloc module]: added a new 'attr' column in the location table, used to
store additional registration-related information

[registrar module]: new avp used to load/store the 'attr' column
information in the location table. Its content is read and stored in db and/or
memory when doing a 'save' operation, and it is populated after doing a 'lookup'.

When doing call forking, the avp will hold a value for each branch. The 'attr'
value of a branch is accessed using $T_branch_idx.

git-svn-id: svn+ssh://svn.code.sf.net/p/opensips/svn/trunk@9905 689a6050-402a-0410-94f2-e92a70836424

Conflicts:
	modules/usrloc/README
PT-445: include modules
PT-445: adding mi_xmlrpc_http.c to 1.9
PT-445: add httpd and json to include modules
httpd: support for http POST requests (API changes - step 2)

git-svn-id: svn+ssh://svn.code.sf.net/p/opensips/svn/trunk@9825 689a6050-402a-0410-94f2-e92a70836424
httpd: new parameter post_buf_size
 - this parameter will set the size of the buffer to be used
   for handling POST HTTP requests

git-svn-id: svn+ssh://svn.code.sf.net/p/opensips/svn/trunk@9828 689a6050-402a-0410-94f2-e92a70836424