URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f8f3d34b... Author: Andrew Mortensen admorten@isc.upenn.edu Date: Sat Oct 5 13:14:09 2013 -0400
modules/sca: fix compiler warning for macro.
- correct "always evaluates to true" when using address of stack variable.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2f0043b1... Author: Andrew Mortensen admorten@isc.upenn.edu Date: Thu Sep 19 13:49:24 2013 -0400
modules/sca: fix return value of sca_call_info_uri_update()
- return value of 0 can bubble up as return value of sca_call_info_update(), causing early script termination (exported function returning 0 in script is equivalent to "exit") - report and patch from Timo Teräs
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2efe3e36... Author: Andrew Mortensen admorten@isc.upenn.edu Date: Tue Aug 20 15:54:17 2013 -0400
modules/sca: AoR should not be treated as SCA if there are no subscribers.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=58a47ac2... Author: Andrew Mortensen admorten@isc.upenn.edu Date: Tue Aug 20 15:14:26 2013 -0400
modules/sca: improved handling of host-only Contact URIs
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3b1f8752... Author: Andrew Mortensen admorten@isc.upenn.edu Date: Mon Jul 22 00:48:46 2013 -0400
modules/sca: restore missing prototype.
sca_subscription_aor_has_subscribers
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=97653df1... Author: Andrew Mortensen admorten@isc.upenn.edu Date: Mon Jul 22 00:42:18 2013 -0400
modules/sca: detect when an AoR is no longer SCA.
Don't, for example, create an appearance for callees that do not send a Call-Info header, and whose AoR also has no subscribers.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a6f80374... Author: Andrew Mortensen admorten@isc.upenn.edu Date: Mon Jul 22 00:37:32 2013 -0400
modules/sca: Clear stale line-seize appearances via timer.
Some badly behaved/buggy UAs don't know when to say when.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=84d1981c... Author: Andrew Mortensen admorten@isc.upenn.edu Date: Thu Jun 13 16:06:10 2013 -0400
modules/sca: fix regression: restore purge expired timer
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c0fb2a67... Author: Andrew Mortensen admorten@isc.upenn.edu Date: Thu Jun 13 15:34:00 2013 -0400
modules/sca: clear appearance on receipt of out-of-dialog SUBSCRIBE
- If a call-info SUBSCRIBE with no To-tag arrives from a subscriber with an active subscription, release any appearances owned by the subscriber, on the assumption that the subscriber has lost track of SCA (reboot, power/network loss).
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ef9b12d2... Author: Andrew Mortensen admorten@isc.upenn.edu Date: Thu Jun 13 15:30:40 2013 -0400
modules/sca: detect and clear orphaned appearances caused by answer glare
- set appearance state created by SCA callee answer to ACTIVE_PENDING, and promote to ACTIVE on ACK from caller. If no ACK from caller is received within 30 seconds (enough time for retransmission to fail), the ACTIVE_PENDING appearance will be cleared by the sca_appearance_purge_stale timer.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1ef45876... Author: Andrew Mortensen admorten@isc.upenn.edu Date: Wed May 15 16:13:23 2013 -0400
modules/sca: reconcile Contact and From URIs in ACK callback.
- fix Music-on-Hold in Polycoms when SCA caller has MoH enabled and SCA callee does SCA hold/pickup with identical To & From URIs. Previously, module would end up looking up an appearance for callee in ACK callback instead of caller.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=185bd40d... Author: Andrew Mortensen admorten@isc.upenn.edu Date: Tue May 14 16:25:06 2013 -0400
modules/sca: improved BYE handling.
- Clear appearances for both legs on BYE request if possible.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=36ad8074... Author: Andrew Mortensen admorten@isc.upenn.edu Date: Tue May 14 16:23:46 2013 -0400
modules/sca: free previous appearance owner, callee, dialog if non-NULL.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bb21b5e0... Author: Andrew Mortensen admorten@isc.upenn.edu Date: Thu May 2 15:12:16 2013 -0400
modules/sca: change logging level for failed lookup by appearance-index.
- appearance-index won't be found yet if SCA callee is answering, logging at WARN is misleading.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=98b8ba06... Author: Andrew Mortensen admorten@isc.upenn.edu Date: Tue Apr 30 23:31:12 2013 -0400
modules/sca: space-separate dialog tags in sca.all_appearances output
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=002dc46f... Author: Andrew Mortensen admorten@isc.upenn.edu Date: Tue Apr 30 23:10:10 2013 -0400
modules/sca: track appearance times.
Include time of last state chance in sca.all_appearances output.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ac298442... Author: Andrew Mortensen admorten@isc.upenn.edu Date: Wed Apr 24 11:30:35 2013 -0400
modules/sca: add sca.subscription_count to rpc exports list.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=815d70e5... Author: Andrew Mortensen admorten@isc.upenn.edu Date: Wed Apr 24 01:18:27 2013 -0400
modules/sca: RPC: fix sca.show_subscription, add sca.subscription_count
- sca.subscription_count will eventually be subsumed by sca.stats.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2e0af20c... Author: Andrew Mortensen admorten@isc.upenn.edu Date: Thu Apr 18 13:52:10 2013 -0400
modules/sca: fall back to tag lookup if lookup by index fails.
- Fix appearance tracking for SCA implementations with inconsistent Call-Info header inclusion.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a6f03834... Author: Andrew Mortensen admorten@isc.upenn.edu Date: Mon Apr 15 20:16:36 2013 -0400
modules/sca: add SCA_DB_DEFAULT_FETCH_ROW_COUNT
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=562e49dc... Author: Andrew Mortensen admorten@isc.upenn.edu Date: Mon Apr 15 20:11:08 2013 -0400
modules/sca: use DB fetch queries when restoring subscribers from database.
- Previously used standard query, exhausting pkg memory when subscriber count is high.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=92114b53... Author: Andrew Mortensen admorten@isc.upenn.edu Date: Mon Apr 15 20:09:01 2013 -0400
modules/sca: only check if callee is SCA if callee_aor has a value.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1e970846... Author: Andrew Mortensen admorten@isc.upenn.edu Date: Mon Apr 15 17:17:05 2013 -0400
modules/sca: add check for empty AoR in lock_shared_appearance calls.
- Sanity checking
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6cdc9c4f... Author: Andrew Mortensen admorten@isc.upenn.edu Date: Thu Apr 11 22:34:10 2013 -0400
modules/sca: clear appearance on t_reply with error after receiving 18x.
- Receiving a 18x provisional reply triggers line-seize subscription termination. Releasing the seized appearance while processing a t_reply with an error status *after* getting a 18x would fail because sca_subscription_terminate could not find a matching line-seize subscription. In that case, look up appearance by tags and release it.