#!/usr/bin/env python
#Call a specific phone number or send SMS via GA6 GSM module 
#Hardware connection method:
#Gateway(Pi)       GA6
#5V      <-->    5V
#GND     <-->    GND
#(#8)TX  <-->    URX
#(#10)RX <-->    UTX

import serial   
se = serial.Serial("/dev/ttyS0", 115200) 

#!/usr/bin/env python
#Call a specific phone number or send SMS via GA6 GSM module 
#Hardware connection method:
#Gateway(Pi)       GA6
#5V      <-->    5V
#GND     <-->    GND
#(#8)TX  <-->    URX
#(#10)RX <-->    UTX

import serial   
se = serial.Serial("/dev/ttyS0", 115200) 

def alarm_call(num):
  se.write('ATD'+num.decode())

def alam_sms()

Update alarm.py