[Added reloadprepaidaccounts to keep ngnpro happy Adrian Georgescu **20080521175320 Show correct status when logged in as subscriber ] hunk ./cdrlib_ser.phtml 2202 - 'toolbar=0,status=0,menubar=0,scrollbars=1,resizable=1,width=1000,height=600')\">Click here to see the SIP trace for this call  "; + 'toolbar=0,status=0,menubar=0,scrollbars=1,resizable=1,width=1000,height=600')\">Click here to see the SIP trace for this call  "; hunk ./cdrlib_ser.phtml 2204 - $this->callIdPrint=$this->callId; + $this->traceLink=$this->callId; hunk ./cdrlib_ser.phtml 2220 - Click here to show only this call id + Click here to show only this call id hunk ./cdrlib_ser.phtml 2227 + $CallInfoVerbose.= " + + + Call id: + $this->callId + + "; hunk ./cdrlib_ser.phtml 2244 - Call id: - $this->callId - - - hunk ./cdrlib_ser.phtml 3708 + if (!is_object($this->info)) { + print "

No information available."; + return false; + } + hunk ./provisioning/ngnpro_client_lib.phtml 9964 - 'logs' => array('success' => sprintf('SIP account %s@%s has been removed from group',$key['username'],$key['domain'],$sub_action_parameter) + 'logs' => array('success' => sprintf('SIP account %s@%s has been removed from group %s',$key['username'],$key['domain'],$sub_action_parameter) hunk ./provisioning/sip_settings_lib.phtml 2072 - printf ("Blocked"); + if (in_array($key,$this->groups)) { + printf ("Blocked"); + } else { + printf ("Active"); + } hunk ./provisioning/sip_settings_lib.phtml 3799 - if ($this->calls_placed[$call][to] == "sip:".$this->voicemail['Account'] ) { + if ($this->calls_placed[$call]['to'] == "sip:".$this->voicemail['Account'] ) { hunk ./provisioning/sip_settings_lib.phtml 3803 - $uri = $this->calls_placed[$call][to]; - $price = $this->calls_placed[$call][price]; - $status = $this->calls_placed[$call][status]; - $duration = normalizeTime($this->calls_placed[$call][duration]); + $uri = $this->calls_placed[$call]['to']; + $price = $this->calls_placed[$call]['price']; + $status = $this->calls_placed[$call]['status']; + $duration = normalizeTime($this->calls_placed[$call]['duration']); hunk ./provisioning/sip_settings_lib.phtml 3808 - $htmlDate = $this->colorizeDate($this->calls_placed[$call][date]); + $htmlDate = $this->colorizeDate($this->calls_placed[$call]['date']); hunk ./rating_lib.phtml 5910 + } else if ($NetFields['action'] == "reloadprepaidaccounts") { + + return 1;