From da4eb866002e8170eac38d2786c657bc3b73e044 Mon Sep 17 00:00:00 2001 From: Ben Klang Date: Sat, 9 Jan 2010 13:24:47 -0500 Subject: [PATCH] Shout: Fix saving device IDs to the backend --- shout/lib/Driver/Ldap.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shout/lib/Driver/Ldap.php b/shout/lib/Driver/Ldap.php index d0d3270aa..8d6b50f85 100644 --- a/shout/lib/Driver/Ldap.php +++ b/shout/lib/Driver/Ldap.php @@ -253,7 +253,8 @@ class Shout_Driver_Ldap extends Shout_Driver case 'device': // FIXME: Check that the device is valid and associated with this // context. - $attr = array('AstExtension' => $destination); + // FIXME: Allow for different device types + $attr = array('AstExtension' => "SIP/" . $destination); break; default: -- 2.11.0