diff --git a/gsmmodem/modem.py b/gsmmodem/modem.py index e468f34..5ee61f4 100644 --- a/gsmmodem/modem.py +++ b/gsmmodem/modem.py @@ -283,7 +283,7 @@ def connect(self, pin=None): # Unknown modem - we do not know what its call updates look like. Use polling instead self.log.info('Unknown/generic modem type - will use polling for call state updates') self._mustPollCallStatus = True - self._pollCallStatusRegex = re.compile('^\+CLCC:\s+(\d+),(\d),(\d),(\d),([^,]),"([^,]*)",(\d+)$') + self._pollCallStatusRegex = re.compile('^\+CLCC:\s+(\d+),(\d),(\d),(\d),([^,]),"([^,]*)",(\d+)') self._waitForAtdResponse = True # Most modems return OK immediately after issuing ATD # General meta-information setup