URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b49899f…
Author: Andrew Mortensen <admorten(a)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
(cherry picked from commit 844c398bba30452f0b136895b9f928cc17e5c80b)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c9551e5…
Author: Andrew Mortensen <admorten(a)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.
(cherry picked from commit a8fb905e8bf27093dcf86866ae946431ed441a41)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2226894…
Author: Andrew Mortensen <admorten(a)isc.upenn.edu>
Date: Tue Aug 20 15:14:26 2013 -0400
modules/sca: improved handling of host-only Contact URIs
(cherry picked from commit bf747c2d65aeaa74d1cea4e0a531607415e8d17d)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1672b92…
Author: Andrew Mortensen <admorten(a)isc.upenn.edu>
Date: Mon Jul 22 00:48:46 2013 -0400
modules/sca: restore missing prototype.
sca_subscription_aor_has_subscribers
(cherry picked from commit 7bf7e9f858faab2329e5edf3d988bef76ac2c804)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=92c6c3b…
Author: Andrew Mortensen <admorten(a)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.
(cherry picked from commit 3464f62565dd153cb87af71a71df5db2306d74a1)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2f767f2…
Author: Andrew Mortensen <admorten(a)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.
(cherry picked from commit 8416a1c65d26ac81b71e08274f9292a7f7713fff)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b15a586…
Author: Andrew Mortensen <admorten(a)isc.upenn.edu>
Date: Thu Jun 13 16:06:10 2013 -0400
modules/sca: fix regression: restore purge expired timer
(cherry picked from commit d5f259f7ce04b012f7704ba433f167d034548e09)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b1faa93…
Author: Andrew Mortensen <admorten(a)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).
(cherry picked from commit c6280e2eb9c2e1243d5d4ab78b8b683c8239a4b9)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0d0a6c2…
Author: Andrew Mortensen <admorten(a)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.
(cherry picked from commit a9014c2b9edd200cf0032fdb30405710afc97c0b)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=67bd5d6…
Author: Andrew Mortensen <admorten(a)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.
(cherry picked from commit ba2f749d4a894f6890601ce3d2ff3697b78c5b73)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=68898fd…
Author: Andrew Mortensen <admorten(a)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.
(cherry picked from commit 71f012de15bd4fecce006c35b9452854818f03af)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b765ed2…
Author: Andrew Mortensen <admorten(a)isc.upenn.edu>
Date: Tue May 14 16:23:46 2013 -0400
modules/sca: free previous appearance owner, callee, dialog if non-NULL.
(cherry picked from commit 6a126232767256a2495c846184acaec788576591)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=87daab4…
Author: Andrew Mortensen <admorten(a)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.
(cherry picked from commit 95b38c4d239f0098e94eafb1c3ddc8834fc767e0)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f547e09…
Author: Andrew Mortensen <admorten(a)isc.upenn.edu>
Date: Tue Apr 30 23:31:12 2013 -0400
modules/sca: space-separate dialog tags in sca.all_appearances output
(cherry picked from commit 16243261d7cc6dc3e03db9c589209b534d6dab74)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d16ee1a…
Author: Andrew Mortensen <admorten(a)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.
(cherry picked from commit da3f7cbd955311309665ab0e6958e009f183f795)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8693055…
Author: Andrew Mortensen <admorten(a)isc.upenn.edu>
Date: Wed Apr 24 11:30:35 2013 -0400
modules/sca: add sca.subscription_count to rpc exports list.
(cherry picked from commit 1d361c70b5ed87e0808bc446be327f21d8725a3f)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b1bd972…
Author: Andrew Mortensen <admorten(a)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.
(cherry picked from commit f156eb0f82bb729e773027e44f1e7f930418dc93)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5ca4e8e…
Author: Andrew Mortensen <admorten(a)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.
(cherry picked from commit c41806685483546d00324d351ca72143a2a6c787)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f4169c4…
Author: Andrew Mortensen <admorten(a)isc.upenn.edu>
Date: Mon Apr 15 20:16:36 2013 -0400
modules/sca: add SCA_DB_DEFAULT_FETCH_ROW_COUNT
(cherry picked from commit 2292666bf234a168120b1c1504bea86300a440ea)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e57b740…
Author: Andrew Mortensen <admorten(a)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.
(cherry picked from commit c9f47e608f655b3558e7c0c319f32b189732cf34)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4f7b9ac…
Author: Andrew Mortensen <admorten(a)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.
(cherry picked from commit d1ef3000b9db99c51d5c37134af2c679ce017a82)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8c790ae…
Author: Andrew Mortensen <admorten(a)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
(cherry picked from commit 8ce54ef9b33ef533b3f4474b2c68c9ae454db458)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=940d60d…
Author: Andrew Mortensen <admorten(a)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.
(cherry picked from commit aa0c84475140dc44186c68e9c544367553c891c2)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d220cdb…
Author: Andrew Mortensen <admorten(a)isc.upenn.edu>
Date: Mon Apr 8 15:01:41 2013 -0400
modules/sca: reduce verbosity of RPC sca.all_subscriptions output
- accommodate more subscriptions without hitting kamcmd buffer limits.
(cherry picked from commit a9e555e6e41271e015c47d29ba85276673d3b7b6)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2a072ee…
Author: Andrew Mortensen <admorten(a)isc.upenn.edu>
Date: Wed Apr 3 14:54:36 2013 -0400
modules/sca: ensure line-seize sub update uses index from request
- lazy removal of line-seize subscriptions that were not used for a
call could lead to failure to release expired seized appearance.
Client must have a lingering, expired line-seize subscription that
hasn't yet been purged by the timer, and indices must not match.
Fix ensures that the appearance-index from the new line-seize
subscription overwrites the index left over from the expired one.
(cherry picked from commit 43cc6015e8604e309672da4d754b5022d1e256c9)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=47aeade…
Author: Andrew Mortensen <admorten(a)isc.upenn.edu>
Date: Wed Apr 3 14:46:27 2013 -0400
modules/sca: fix SCA_CALL_INFO_EMPTY macro
- test should be a logical OR, not AND.
(cherry picked from commit 3339e7a5bd205599fed63f82536626732b3f23d9)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bbd4f9e…
Author: Andrew Mortensen <admorten(a)isc.upenn.edu>
Date: Fri Mar 15 17:01:23 2013 -0400
modules/sca: process BYE without Call-Info from shared line.
- Ciscos & Aastras don't seem include Call-Info header in BYE. Look up
dialog by tags and release associated appearance-index.
(cherry picked from commit 287cccf2af17e5f2f8fe09c41025b4d27bb4fda9)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=eb13042…
Author: Andrew Mortensen <admorten(a)isc.upenn.edu>
Date: Fri Mar 15 10:22:26 2013 -0400
sca: reduce log level to DBG when replacing RURI when retrieving held call.
(cherry picked from commit a51bc822f70f4185b55455456dc147205cbbbdc7)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=489fd1b…
Author: Andrew Mortensen <admorten(a)isc.upenn.edu>
Date: Fri Mar 1 16:33:59 2013 -0500
sca: fix private hold handling
- private hold call-info was being ignored in hold reINVITEs, causing
inaccurate "active" notifications to go to subscribers.
(cherry picked from commit 81b5473f5a191a5aa81295acf0d96a22160f7f31)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=888ea02…
Author: Andrew Mortensen <admorten(a)isc.upenn.edu>
Date: Mon Mar 4 23:13:53 2013 -0500
sca: fix regression dropping Expires header from SUBSCRIBE replies.
- extra_headers.len lacked Expires header length after snprintf.
(cherry picked from commit 3b557293a33f6f3003fdd62a45e02cf8736b534e)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=18593c1…
Author: Andrew Mortensen <admorten(a)isc.upenn.edu>
Date: Sun Mar 3 17:01:53 2013 -0500
sca: move SUBSCRIBE response handling to sca_subscription_reply
- create necessary headers, pass to newly generic sca_reply function.
(cherry picked from commit d528c27b6fa69530bfde4a6ce83c5d4dcc6499a5)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=08b6b18…
Author: Andrew Mortensen <admorten(a)isc.upenn.edu>
Date: Sun Mar 3 17:00:44 2013 -0500
sca: reject out-of-dialog attempts to seize privately held call.
- per spec, reject with 403 Forbidden.
(cherry picked from commit e565748048d7a6b6fda0a28959e092380c5bc26a)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5f01771…
Author: Andrew Mortensen <admorten(a)isc.upenn.edu>
Date: Sun Mar 3 16:59:23 2013 -0500
sca: make sca_reply a generic reply function.
- take a pre-filled extra_headers parameter instead, add with add_lump_rpl.
(cherry picked from commit d6d71b0e217226fe43491a0e9ba75ec0a6649cd5)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8972be2…
Author: Andrew Mortensen <admorten(a)isc.upenn.edu>
Date: Thu Feb 14 16:55:36 2013 -0500
sca: fix race condition when two endpoints seize same index simultaneously
- return 480 Temporarily Unavailable to loser of race.
(cherry picked from commit 522d06e75bf3c549af007701332f7db53a1b5ab6)