Module: kamailio
Branch: master
Commit: 277d1b78b218591f1101ee684462b37744ae38e4
URL: 
https://github.com/kamailio/kamailio/commit/277d1b78b218591f1101ee684462b37744ae38e4

Author: Serdar GÜÇLÜER <[email protected]>
Committer: Henning Westerholt <[email protected]>
Date: 2026-01-20T08:20:05+01:00

peerstate: Add peer state tracking module

- SIP peer state monitoring (NOT_INUSE, INUSE, RINGING, UNAVAILABLE)
- Shared memory hash table cache for peer states with thread-safe operations
- Dialog event integration for call state tracking (EARLY, CONFIRMED, ENDED)
- Registration event integration for availability tracking
- Automatic state transitions based on active calls and registration status
- Configurable cache expiration and automatic cleanup timer
- Callback system for external module notifications
- API binding via bind_peerstate() for other modules
- Added peerstate.get_peer, peerstate.stats, peerstate.list, peerstate.dump 
commands
- Module parameters: cache_expire, cache_cleanup_interval, cache_hash_size, 
use_avps, disable_*_notify
- Dependencies: dialog module, usrloc module

---

Added: src/modules/peerstate/CMakeLists.txt
Added: src/modules/peerstate/Makefile
Added: src/modules/peerstate/README
Added: src/modules/peerstate/docs/Makefile
Added: src/modules/peerstate/docs/peerstate.xml
Added: src/modules/peerstate/docs/peerstate_admin.xml
Added: src/modules/peerstate/docs/peerstate_devel.xml
Added: src/modules/peerstate/peerstate.h
Added: src/modules/peerstate/peerstate_cache.c
Added: src/modules/peerstate/peerstate_cache.h
Added: src/modules/peerstate/peerstate_cb.c
Added: src/modules/peerstate/peerstate_cb.h
Added: src/modules/peerstate/peerstate_mod.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/277d1b78b218591f1101ee684462b37744ae38e4.diff
Patch: 
https://github.com/kamailio/kamailio/commit/277d1b78b218591f1101ee684462b37744ae38e4.patch

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to