Shout: Fix saving device IDs to the backend
authorBen Klang <ben@alkaloid.net>
Sat, 9 Jan 2010 18:24:47 +0000 (13:24 -0500)
committerBen Klang <ben@alkaloid.net>
Sat, 9 Jan 2010 18:24:47 +0000 (13:24 -0500)
shout/lib/Driver/Ldap.php

index d0d3270..8d6b50f 100644 (file)
@@ -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: