Package: libnetsds-kannel-perl / 1.300-6

1002_fix_use_default_smsc.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Fix use default_smsc
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2011-05-13
--- a/lib/NetSDS/Kannel.pm
+++ b/lib/NetSDS/Kannel.pm
@@ -319,6 +319,8 @@
 	# Set SMSC id
 	if ( $params{smsc} ) {
 		$send{smsc} = $params{smsc};
+	} else {
+		$send{smsc} = $self->default_smsc;
 	}
 
 	# Set DLR fetching mask (see kannel documentation)