diff --git a/smppclient.class.php b/smppclient.class.php index 7732471..d9aab98 100644 --- a/smppclient.class.php +++ b/smppclient.class.php @@ -783,6 +783,25 @@ protected function parseTag(&$ar) } return $tag; } + + /* Akshath + * Added new functions to override default plugin params + */ + public function setSystemType($system_type) { + self::$system_type = $system_type; + } + + public function setAddressTON($ton) { + self::$addr_ton = $ton; + } + + public function setAddressNPI($npi) { + self::$addr_npi = $npi; + } + + public function setAddressRange($address_range) { + self::$address_range = $address_range; + } }